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
@@ -7,6 +7,5 @@ sun::iptables -t nat -A PREROUTING -i eth0 -s PH_IP_MOON -p udp -j DNAT --to-des
|
||||
sun::ip route add 10.1.0.0/16 via PH_IP_BOB
|
||||
alice::ipsec start
|
||||
bob::ipsec start
|
||||
alice::sleep 2
|
||||
alice::expect-connection nat-t
|
||||
alice::ipsec up nat-t
|
||||
alice::sleep 1
|
||||
Reference in new issue
Block a user