Files
weave/test/250_dns_test_restart.sh
T
2015-06-02 09:57:28 +01:00

19 lines
327 B
Bash
Executable File

#! /bin/bash
. ./config.sh
C1=10.2.0.78
C2=10.2.0.34
NAME=seetwo.weave.local
start_suite "Repopulation on weaveDNS restart"
start_container $HOST1 $C2/24 --name=c2 -h $NAME
start_container_with_dns $HOST1 $C1/24 --name=c1
weave_on $HOST1 launch-dns 10.2.254.1/24
assert_dns_record $HOST1 c1 $NAME $C2
end_suite