diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-05 14:57:07 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 15:18:35 +0100 |
commit | cbaafa03c7ed75df3887788fc69fa4ed2d3abb9c (patch) | |
tree | fe12efd00f31d81b3384136d3b32b2d7b3cb4182 /testing/tests/ikev2/any-interface | |
parent | f519acd42f9efe7e566b918495418b2772a82c2a (diff) | |
download | strongswan-cbaafa03c7ed75df3887788fc69fa4ed2d3abb9c.tar.bz2 strongswan-cbaafa03c7ed75df3887788fc69fa4ed2d3abb9c.tar.xz |
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).
Diffstat (limited to 'testing/tests/ikev2/any-interface')
-rw-r--r-- | testing/tests/ikev2/any-interface/pretest.dat | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/ikev2/any-interface/pretest.dat b/testing/tests/ikev2/any-interface/pretest.dat index a122073e4..2f27224d2 100644 --- a/testing/tests/ikev2/any-interface/pretest.dat +++ b/testing/tests/ikev2/any-interface/pretest.dat @@ -5,7 +5,7 @@ moon::ipsec start sun::ipsec start bob::ipsec start moon::expect-connection alice -moon::ping -n -c 3 -s 8184 -p deadbeef PH_IP_ALICE -moon::ping -n -c 3 -s 8184 -p deadbeef PH_IP_SUN +moon::ping -n -c 3 -W 1 -i 0.2 -s 8184 -p deadbeef PH_IP_ALICE +moon::ping -n -c 3 -W 1 -i 0.2 -s 8184 -p deadbeef PH_IP_SUN bob::expect-connection sun -bob::ping -n -c 3 -s 8184 -p deadbeef PH_IP_SUN1 +bob::ping -n -c 3 -W 1 -i 0.2 -s 8184 -p deadbeef PH_IP_SUN1 |