fix private network tests
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Jul 30, 2018 at 15:38 UTC
848a923c9940e8e685354cc2f3de5ed10e674134
1 file changed
+2
-2
test/sharness/t0181-private-network.sh
+2
-2
@@ -61,7 +61,7 @@ test_expect_success "start nodes" '
61
'
62
63
test_expect_success "try connecting node in public network with priv networks" '
64
- iptb connect --timeout=2s [1-4] 0
64
+ test_must_fail iptb connect --timeout=2s [1-4] 0
65
'
66
67
test_expect_success "node 0 (public network) swarm is empty" '
@@ -70,7 +70,7 @@ test_expect_success "node 0 (public network) swarm is empty" '
70
'
71
72
test_expect_success "try connecting nodes in different private networks" '
73
- iptb connect 2 3
73
+ test_must_fail iptb connect 2 3
74
'
75
76
test_expect_success "node 3 (pnet 2) swarm is empty" '