Skip to content

Commit

Permalink
chore: retry socat in sharness
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jan 5, 2023
1 parent d9825b6 commit 14d7aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sharness/t0172-content-routing-over-http.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export IPFS_HTTP_ROUTERS="http://127.0.0.1:$ROUTER_PORT"
test_launch_ipfs_daemon

test_expect_success "start HTTP router proxy" '
socat TCP-LISTEN:$ROUTER_PORT,reuseaddr,fork,bind=127.0.0.1 STDOUT > http_requests &
socat TCP-LISTEN:$ROUTER_PORT,reuseaddr,fork,bind=127.0.0.1,retry=10 STDOUT > http_requests &
NCPID=$!
test_wait_for_file 50 100ms http_requests
'
Expand Down

0 comments on commit 14d7aa1

Please sign in to comment.