Skip to content

Commit

Permalink
update timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Aug 21, 2024
1 parent e58a86f commit 3721a85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sharness/lib/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,14 +350,14 @@ test_launch_ipfs_daemon_unixsocket() {

# we say the daemon is ready when the API server is ready.
test_expect_success "'ipfs daemon' is ready" '
wait_file "$uds" > uds_poll_out
wait_unix_socket "$uds" > uds_poll_out
'
}

wait_file () {
wait_unix_socket () {
udsname="$1"
n=0
until [ "$n" -ge 55 ]; do
until [ "$n" -ge 10 ]; do
sleep 1
echo "checking for $udsname: n = $n"
if [ -S "$udsname" ]; then
Expand Down

0 comments on commit 3721a85

Please sign in to comment.