Merge branch '1.0'
Conflicts: test/640_proxy_restart_reattaches_test.sh
This commit is contained in:
commit
fa2aa1f791
6 files changed
+30
-32
No files matched your search
@@ -9,18 +9,14 @@ C4=10.2.0.99
|
||||
DOMAIN=weave.local
|
||||
NAME=seeone.$DOMAIN
|
||||
|
||||
start_container() {
|
||||
proxy docker_on $HOST1 run "$@" -dt $DNS_IMAGE /bin/sh
|
||||
}
|
||||
|
||||
start_suite "Resolve unqualified names"
|
||||
|
||||
weave_on $HOST1 launch
|
||||
|
||||
start_container -e WEAVE_CIDR=$C1/24 --name=c1 -h $NAME
|
||||
start_container -e WEAVE_CIDR=$C2/24 --name=c2 -h seetwo.$DOMAIN
|
||||
start_container -e WEAVE_CIDR=$C3/24 --name=c3 --dns-search=$DOMAIN
|
||||
container=$(start_container -e WEAVE_CIDR=$C4/24)
|
||||
proxy_start_container_with_dns $HOST1 -e WEAVE_CIDR=$C1/24 --name=c1 -h $NAME
|
||||
proxy_start_container_with_dns $HOST1 -e WEAVE_CIDR=$C2/24 --name=c2 -h seetwo.$DOMAIN
|
||||
proxy_start_container_with_dns $HOST1 -e WEAVE_CIDR=$C3/24 --name=c3 --dns-search=$DOMAIN
|
||||
container=$(proxy_start_container_with_dns $HOST1 -e WEAVE_CIDR=$C4/24)
|
||||
|
||||
check() {
|
||||
assert "proxy exec_on $HOST1 $1 getent hosts seeone | tr -s ' '" "$C1 $NAME"
|
||||
|
||||
Reference in new issue
Block a user