1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-25 23:21:54 +08:00

fix private network tests

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-07-30 15:38:13 -07:00
parent ca1024a16a
commit 848a923c99

View File

@ -61,7 +61,7 @@ test_expect_success "start nodes" '
'
test_expect_success "try connecting node in public network with priv networks" '
iptb connect --timeout=2s [1-4] 0
test_must_fail iptb connect --timeout=2s [1-4] 0
'
test_expect_success "node 0 (public network) swarm is empty" '
@ -70,7 +70,7 @@ test_expect_success "node 0 (public network) swarm is empty" '
'
test_expect_success "try connecting nodes in different private networks" '
iptb connect 2 3
test_must_fail iptb connect 2 3
'
test_expect_success "node 3 (pnet 2) swarm is empty" '