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:
1 parent
f519acd42f
commit
cbaafa03c7
33 files changed
+55
-55
No files matched your search
@@ -5,4 +5,4 @@ carol::ipsec start
|
||||
carol::expect-connection home-icmp
|
||||
carol::expect-connection home-ssh
|
||||
carol::ssh PH_IP_ALICE hostname
|
||||
carol::ping -c 1 PH_IP_ALICE > /dev/null
|
||||
carol::ping -c 1 -W 1 PH_IP_ALICE > /dev/null
|
||||
Reference in new issue
Block a user