Factor out test fixture teardown

This commit is contained in:
Adam Harrison committed 2015-04-24 12:03:57 +01:00
1 parent 252dacb278
commit d0d8144ef9
10 files changed
+6 -41

No files matched your search

-4
View File
@@ -9,11 +9,7 @@ run_on $HOST1 sudo ./weave --local reset
run_on $HOST1 sudo ./weave --local launch
assert_raises "docker_on $HOST1 ps | grep weave" 0
docker_on $HOST1 rm -f c1 || true
run_on $HOST1 sudo ./weave --local run 10.2.6.5/24 -ti --name=c1 ubuntu
assert_raises "exec_on $HOST1 c1 ifconfig | grep ethwe"
docker_on $HOST1 rm -f c1 || true
end_suite