From f519acd42f9efe7e566b918495418b2772a82c2a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 5 Nov 2015 14:47:58 +0100 Subject: testing: Remove nearly all sleep calls from pretest and posttest scripts By consistently using the `expect-connection` helper we can avoid pretty much all previously needed calls to sleep. --- testing/tests/sql/ip-split-pools-db-restart/pretest.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/tests/sql/ip-split-pools-db-restart') diff --git a/testing/tests/sql/ip-split-pools-db-restart/pretest.dat b/testing/tests/sql/ip-split-pools-db-restart/pretest.dat index ba3f4d1cb..0805232ac 100644 --- a/testing/tests/sql/ip-split-pools-db-restart/pretest.dat +++ b/testing/tests/sql/ip-split-pools-db-restart/pretest.dat @@ -12,7 +12,7 @@ moon::ipsec pool --leases 2> /dev/null moon::ipsec start dave::ipsec start carol::ipsec start -dave::sleep 1 +dave::expect-connection home dave::ipsec up home +carol::expect-connection home carol::ipsec up home -carol::sleep 1 -- cgit v1.2.3