From 14d7aa11773f3ca2d5fbf99555c52719cf2f3603 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 5 Jan 2023 18:34:35 +0100 Subject: [PATCH] chore: retry socat in sharness --- test/sharness/t0172-content-routing-over-http.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/t0172-content-routing-over-http.sh b/test/sharness/t0172-content-routing-over-http.sh index d7028071f710..b173ca053f54 100755 --- a/test/sharness/t0172-content-routing-over-http.sh +++ b/test/sharness/t0172-content-routing-over-http.sh @@ -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 '