Use regular persistence settings in test, since they now survive a restart

This commit is contained in:
Bryan Boreham committed 2016-04-13 16:08:41 +01:00
1 parent 358342aa4f
commit 0eee97b988
1 file changed
+1 -5
+1 -5
View File
@@ -7,13 +7,9 @@ start_suite "Checking persistence of IPAM"
launch_router_with_db() {
host=$1
shift
WEAVE_DOCKER_ARGS="-v /tmp:/db" weave_on $host launch-router --db-prefix=/db/test162- "$@"
weave_on $host launch-router "$@"
}
# Remove any persisted data from previous runs
run_on $HOST1 "sudo rm -f /tmp/test162-*"
run_on $HOST2 "sudo rm -f /tmp/test162-*"
launch_router_with_db $HOST1 $HOST2
launch_router_with_db $HOST2 $HOST1