testing: Avoid delays with ping by using -W and -i options
With -W we reduce timeouts when we don't expect a response. With -i the interval between pings is reduced (mostly in case of auto=route where the first ping yields no reply).
This commit is contained in:
@@ -9,5 +9,5 @@ sun::iptables-restore < /etc/iptables.rules
|
||||
sun::ipsec start
|
||||
moon::ipsec start
|
||||
moon::expect-connection net-net
|
||||
alice::ping -c 1 PH_IP_BOB
|
||||
bob::ping -c 1 PH_IP_VENUS
|
||||
alice::ping -c 1 -W 1 PH_IP_BOB
|
||||
bob::ping -c 1 -W 1 PH_IP_VENUS
|
||||
|
||||
Reference in New Issue
Block a user