Merge pull request #1054 from weaveworks/1042-reset-first-10

Call `weave reset` earlier in smoke-test set-up, to improve reliability

Fixes #1042.
This commit is contained in:
Matthias Radestock committed 2015-07-01 14:01:29 +01:00
commit a05a3c4b26
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 "$@"
}