Use regular persistence settings in test, since they now survive a restart
This commit is contained in:
1 parent
358342aa4f
commit
0eee97b988
1 file changed
+1
-5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user