add tests for launching DNS with various ways of obtaining an IP
As a side effect this also tests repopulation on restart, so we can remove the separate test for that.
This commit is contained in:
1 parent
727a213ba1
commit
a2146ca5b0
2 files changed
+42
-36
No files matched your search
@@ -1,18 +0,0 @@
|
||||
#! /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
|
||||
Reference in new issue
Block a user