Merge pull request #2204 from weaveworks/issues/2193-dns-leak

Fixes #2123: Use ContainerID when restarting a container
This commit is contained in:
Bryan Boreham committed 2016-04-22 14:36:17 +01:00
commit d2450aae1c
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ 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
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"
sleep 31 # past the IPAM timeout
start_container $HOST2 net:$SUBNET_2 --name=c7
C7=$(container_ip $HOST2 c7)