linux/tools/testing/selftests/net/ovpn
Ralf Lici 201ba70631 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: 959bc330a4 ("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>
2026-05-05 00:31:11 +02:00
..
json selftests: ovpn: check asymmetric peer-id 2026-03-17 11:09:05 +01:00
.gitignore
common.sh selftests: ovpn: align command flow with TAP 2026-04-17 10:54:03 +02:00
config selftests: ovpn: add nftables config dependencies for test-mark 2026-04-17 10:54:03 +02:00
data64.key selftests: ovpn: allow compiling ovpn-cli.c with mbedtls3 2026-03-17 11:08:54 +01:00
Makefile selftests: ovpn: add test for the FW mark feature 2026-03-17 11:09:20 +01:00
ovpn-cli.c selftests: ovpn: add test for the FW mark feature 2026-03-17 11:09:20 +01:00
tcp_peers.txt selftests: ovpn: check asymmetric peer-id 2026-03-17 11:09:05 +01:00
test-chachapoly.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test-close-socket-tcp.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test-close-socket.sh selftests: ovpn: align command flow with TAP 2026-04-17 10:54:03 +02:00
test-float.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test-large-mtu.sh selftest/net/ovpn: fix missing file 2025-06-03 13:08:15 +02:00
test-mark.sh selftests: ovpn: align command flow with TAP 2026-04-17 10:54:03 +02:00
test-symmetric-id-float.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test-symmetric-id-tcp.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test-symmetric-id.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test-tcp.sh selftests: ovpn: add prefix to helpers and shared variables 2026-04-17 10:54:03 +02:00
test.sh selftests: ovpn: reduce ping count in test.sh 2026-05-05 00:31:11 +02:00
udp_peers.txt selftests: ovpn: check asymmetric peer-id 2026-03-17 11:09:05 +01:00