Call weave reset before deleting containers, to improve clean-down

This commit is contained in:
Bryan Boreham committed 2015-07-01 13:19:43 +01:00
1 parent ba1e75405f
commit a938608cc8
1 file changed
+1 -1
+1 -1
View File
@@ -170,8 +170,8 @@ assert_dns_ptr_record() {
start_suite() {
for host in $HOST1 $HOST2; do
[ -z "$DEBUG" ] || echo "Cleaning up on $host: removing all containers and resetting weave"
rm_containers $host $(docker_on $host ps -aq 2>/dev/null)
weave_on $host reset 2>/dev/null
rm_containers $host $(docker_on $host ps -aq 2>/dev/null)
done
whitely echo "$@"
}