diff --git a/test/sharness/t0031-mount-publish.sh b/test/sharness/t0031-mount-publish.sh index 309dc7801097..7164232e83cd 100755 --- a/test/sharness/t0031-mount-publish.sh +++ b/test/sharness/t0031-mount-publish.sh @@ -16,8 +16,10 @@ test_init_ipfs # start iptb + wait for peering NUM_NODES=3 -iptb init -n $NUM_NODES -f --bootstrap=none --port=0 -startup_cluster $NUM_NODES +test_expect_success 'init iptb' ' + iptb init -n $NUM_NODES -f --bootstrap=none --port=0 && + startup_cluster $NUM_NODES +' # pre-mount publish HASH=$(echo 'hello warld' | ipfsi 0 add -q)