From 79b6297770c710487b10785ce82adfa87041a3fd Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Mon, 1 Feb 2016 23:23:53 +0100 Subject: [PATCH] t0130: use startup_cluster() from iptb-lib.sh License: MIT Signed-off-by: Christian Couder --- test/sharness/t0130-multinode.sh | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/test/sharness/t0130-multinode.sh b/test/sharness/t0130-multinode.sh index b1d8578e4..6024d3b0e 100755 --- a/test/sharness/t0130-multinode.sh +++ b/test/sharness/t0130-multinode.sh @@ -8,24 +8,6 @@ test_description="Test multiple ipfs nodes" . lib/test-lib.sh -startup_cluster() { - test_expect_success "start up nodes" ' - iptb start - ' - - test_expect_success "connect nodes to eachother" ' - iptb connect [1-4] 0 - ' - - test_expect_success "nodes are connected" ' - check_has_connection 0 && - check_has_connection 1 && - check_has_connection 2 && - check_has_connection 3 && - check_has_connection 4 - ' -} - check_file_fetch() { node=$1 fhash=$2 @@ -41,7 +23,7 @@ check_file_fetch() { } run_basic_test() { - startup_cluster + startup_cluster 5 test_expect_success "add a file on node1" ' random 1000000 > filea &&