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.
This commit is contained in:
1 parent
747b64875f
commit
f519acd42f
303 files changed
+500
-452
No files matched your search
@@ -12,10 +12,11 @@ dave::iptables-restore < /etc/iptables.rules
|
||||
moon::ipsec start
|
||||
alice::ipsec start
|
||||
moon::ipsec start
|
||||
moon::sleep 2
|
||||
moon::sleep 2
|
||||
alice::echo "+1" > /var/run/charon.ha
|
||||
carol::ipsec start
|
||||
dave::ipsec start
|
||||
carol::sleep 1
|
||||
carol::expect-connection home
|
||||
dave::expect-connection home
|
||||
carol::ipsec up home
|
||||
dave::ipsec up home
|
||||
@@ -14,6 +14,7 @@ alice::ipsec start
|
||||
alice::sleep 1
|
||||
carol::ipsec start
|
||||
dave::ipsec start
|
||||
carol::sleep 1
|
||||
carol::expect-connection home
|
||||
dave::expect-connection home
|
||||
carol::ipsec up home
|
||||
dave::ipsec up home
|
||||
Reference in new issue
Block a user