From 0eee97b9887795316dccaaf1892e0668c13fdcc2 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 6 Apr 2016 17:45:15 +0100 Subject: [PATCH] Use regular persistence settings in test, since they now survive a restart --- test/370_persist_ipam_2_test.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/370_persist_ipam_2_test.sh b/test/370_persist_ipam_2_test.sh index 15b2f330..d4bc5ef3 100755 --- a/test/370_persist_ipam_2_test.sh +++ b/test/370_persist_ipam_2_test.sh @@ -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