From acfa02359d8550c7dbb85b92dfa8f08b2d7b208b Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 29 Aug 2018 16:36:25 -0700 Subject: [PATCH] fix a test failure caused by eagerly killing nc License: MIT Signed-off-by: Steven Allen --- test/sharness/t0236-cli-api-dns-resolve.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/t0236-cli-api-dns-resolve.sh b/test/sharness/t0236-cli-api-dns-resolve.sh index d53ce6a01..18aa22460 100755 --- a/test/sharness/t0236-cli-api-dns-resolve.sh +++ b/test/sharness/t0236-cli-api-dns-resolve.sh @@ -13,7 +13,7 @@ test_init_ipfs test_expect_success "can make http request against dns resolved nc server" ' nc -ld 5005 > nc_out & NCPID=$! - go-sleep 0.5s && kill "$NCPID" & + go-sleep 1s && kill "$NCPID" & ipfs cat /ipfs/Qmabcdef --api /dns4/localhost/tcp/5005 || true '