Test tidyup

This commit is contained in:
Adam Harrison committed 2015-03-30 15:54:54 +01:00
1 parent 74f2cd09bc
commit 3026b5d291
1 file changed
+2 -2
+2 -2
View File
@@ -52,7 +52,7 @@ assert_zone_records() {
}
# Run container with three cidrs
CID=$(DOCKER_HOST=tcp://$host:2375 $WEAVE run 10.0.0.1/24 10.0.0.2/24 10.0.0.3/24 -t --name multicidr -h multicidr.weave.local ubuntu | cut -b 1-12)
CID=$(DOCKER_HOST=tcp://$HOST1:2375 $WEAVE run 10.0.0.1/24 10.0.0.2/24 10.0.0.3/24 -t --name multicidr -h multicidr.weave.local ubuntu | cut -b 1-12)
assert_container_cidrs $HOST1 $CID 10.0.0.1/24 10.0.0.2/24 10.0.0.3/24
assert_zone_records $HOST1 $CID multicidr.weave.local. 10.0.0.1 10.0.0.2 10.0.0.3
@@ -62,7 +62,7 @@ assert_container_cidrs $HOST1 $CID 10.0.0.1/24
assert_zone_records $HOST1 $CID multicidr.weave.local. 10.0.0.1
# Put them both back
weave_on $HOST1 attach 10.0.0.2/24 10.0.0.3/24 $CID
weave_on $HOST1 attach 10.0.0.2/24 10.0.0.3/24 $CID
assert_container_cidrs $HOST1 $CID 10.0.0.1/24 10.0.0.2/24 10.0.0.3/24
assert_zone_records $HOST1 $CID multicidr.weave.local. 10.0.0.1 10.0.0.2 10.0.0.3