cope with more than two test hosts

This commit is contained in:
Matthias Radestock committed 2015-07-11 11:59:34 +01:00
1 parent 25486f7b4d
commit a3dff7e1e9
2 files changed
+17 -21

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@ assert_dns_ptr_record() {
}
start_suite() {
for host in $HOST1 $HOST2; do
for host in $HOSTS; do
[ -z "$DEBUG" ] || echo "Cleaning up on $host: removing all containers and resetting weave"
weave_on $host reset 2>/dev/null
rm_containers $host $(docker_on $host ps -aq 2>/dev/null)