diff options
| author | Ralf Lici <ralf@mandelbit.com> | 2026-04-29 10:00:16 +0200 |
|---|---|---|
| committer | Antonio Quartulli <antonio@openvpn.net> | 2026-05-05 00:31:11 +0200 |
| commit | 201ba706318d460a2ea660e3652610be62532a70 (patch) | |
| tree | ae663e2e84abf200ddad426bdd4897a9e6577a98 /scripts | |
| parent | c539cb30f93f119566f2ae9d016cce11f188d780 (diff) | |
selftests: ovpn: reduce ping count in test.sh
The second stage of test.sh ("run baseline data traffic") performs a
basic connectivity check with ping -qfc 500 -w 3. On slower CI
instances this is too strict for TCP: the RTT is high enough that 500
echo requests do not reliably complete within 3 seconds, so the stage
flakes and the test fails even though the ovpn setup is healthy.
Reduce the packet count to 100 for both the plain and 3000-byte pings in
that stage. This still verifies peer setup, key exchange, routing, and
data-path traffic, without making the basic connectivity check depend on
timing out under load.
Fixes: 959bc330a439 ("testing/selftests: add test tool and scripts for ovpn module")
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
