Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 5913314

Browse files
committed
sharness/lib/test-lib: use go-poll-endpoint
1 parent 045d6c8 commit 5913314

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/sharness/lib/test-lib.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,13 @@ test_launch_ipfs_daemon() {
220220

221221
test_set_address_vars actual_daemon
222222

223+
echo "IPFS_PATH: '$IPFS_PATH'"
224+
echo "API_MADDR: '$API_MADDR'"
225+
223226
# we say the daemon is ready when the API server is ready.
224227
test_expect_success "'ipfs daemon' is ready" '
225228
IPFS_PID=$! &&
226-
pollEndpoint -ep=/version -host=$API_MADDR -v -tout=1s -tries=60 2>poll_apierr > poll_apiout ||
229+
go-poll-endpoint -ep=/version -host=$API_MADDR -v -tout=1s -tries=60 2>poll_apierr > poll_apiout ||
227230
test_fsh cat actual_daemon || test_fsh cat daemon_err || test_fsh cat poll_apierr || test_fsh cat poll_apiout
228231
'
229232
}

0 commit comments

Comments
 (0)