t0170: put startup_cluster() call outside test_expect_success
startup_cluster() already contains some test_expect_success, so it should not be inside one. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
May 7, 2016 at 09:35 UTC
01bf209c31b1c6fc7e54afd9c887ac8bb48f0e0f
1 file changed
+3
-2
test/sharness/t0170-dht.sh
+3
-2
@@ -7,10 +7,11 @@ test_description="Test dht command"
7
# start iptb + wait for peering
8
NUM_NODES=5
9
test_expect_success 'init iptb' '
10
- iptb init -n $NUM_NODES --bootstrap=none --port=0 &&
11
- startup_cluster $NUM_NODES
10
+ iptb init -n $NUM_NODES --bootstrap=none --port=0
11
'
12
13
+startup_cluster $NUM_NODES
14
+
15
test_expect_success 'peer ids' '
16
PEERID_0=$(iptb get id 0) &&
17
PEERID_2=$(iptb get id 2)