Remove 'weave run', 'start' and 'restart'
Replace with informative message. Also fix up tests which were calling these commands.
This commit is contained in:
1 parent
19a31a5b82
commit
98e6571059
11 files changed
+72
-193
No files matched your search
@@ -27,8 +27,9 @@ start_container $HOST2 net:$SUBNET_2 --name=c6
|
||||
C6=$(container_ip $HOST2 c6)
|
||||
assert_raises "exec_on $HOST1 c5 $PING $C6"
|
||||
|
||||
# check that restart retains the same IP, and reclaims it in IPAM
|
||||
weave_on $HOST2 restart c6
|
||||
# check that restart+attach retains the same IP, and reclaims it in IPAM
|
||||
docker_on $HOST2 restart c6
|
||||
weave_on $HOST2 attach net:$SUBNET_2 c6
|
||||
assert_raises "exec_on $HOST1 c5 $PING $C6"
|
||||
# check that restart does not create any additional DNS entry
|
||||
assert "weave_on $HOST2 report -f \"{{len .DNS.Entries}}\"" "6"
|
||||
|
||||
Reference in new issue
Block a user