Factor out test fixture teardown
This commit is contained in:
1 parent
252dacb278
commit
d0d8144ef9
10 files changed
+6
-41
No files matched your search
@@ -9,12 +9,8 @@ NAME=seetwo.$DOMAIN
|
||||
|
||||
start_suite "Resolve names in custom domain"
|
||||
|
||||
weave_on $HOST1 stop || true
|
||||
weave_on $HOST1 stop-dns || true
|
||||
weave_on $HOST1 launch-dns 10.2.254.1/24 --domain $DOMAIN.
|
||||
|
||||
docker_on $HOST1 rm -f c1 c2 || true
|
||||
|
||||
weave_on $HOST1 run $C2/24 -t --name=c2 -h $NAME ubuntu
|
||||
weave_on $HOST1 run --with-dns $C1/24 -t --name=c1 aanand/docker-dnsutils /bin/sh
|
||||
|
||||
|
||||
Reference in new issue
Block a user