提交 01bf209c 作者: Christian Couder

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: 's avatarChristian Couder <chriscool@tuxfamily.org>
上级 f4a5bf50
......@@ -7,10 +7,11 @@ test_description="Test dht command"
# start iptb + wait for peering
NUM_NODES=5
test_expect_success 'init iptb' '
iptb init -n $NUM_NODES --bootstrap=none --port=0 &&
startup_cluster $NUM_NODES
iptb init -n $NUM_NODES --bootstrap=none --port=0
'
startup_cluster $NUM_NODES
test_expect_success 'peer ids' '
PEERID_0=$(iptb get id 0) &&
PEERID_2=$(iptb get id 2)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论