testing: Use expect-connection in swanctl scenarios
Only in net2net-start do we have to use `sleep` to ensure the SA is up when the tests are running.
This commit is contained in:
committed by
Andreas Steffen
parent
b77e25c381
commit
ae37090e65
@@ -2,5 +2,6 @@ sun::iptables-restore < /etc/iptables.rules
|
||||
moon::iptables-restore < /etc/iptables.rules
|
||||
sun::service charon start 2> /dev/null
|
||||
moon::service charon start 2> /dev/null
|
||||
moon::sleep 1
|
||||
alice::ping -c 3 10.2.0.10
|
||||
sun::expect-connection gw-gw
|
||||
moon::expect-connection gw-gw
|
||||
alice::ping -c 3 -W 1 -i 0.2 PH_IP_BOB
|
||||
|
||||
Reference in New Issue
Block a user