Files
firezone/scripts/tests/perf/relayed-udp-client2server.sh
Jamil 3bd7dc504e fix(ci): Fix flaky iperf3 "Bad file descriptor" (#3731)
- Lower UDP bandwidth to 50M -- this fixes intermittent file descriptor
issues because we overload iperf3 for more than 5 seconds
- Simplify iperf3 to the minimum set that makes tests reliable
2024-02-22 19:57:22 +00:00

13 lines
262 B
Bash
Executable File

#!/usr/bin/env bash
set -euox pipefail
source "./scripts/tests/lib.sh"
install_iptables_drop_rules
docker compose exec --env RUST_LOG=info -it client /bin/sh -c 'iperf3 \
--udp \
--bandwidth 50M \
--client 172.20.0.110 \
--json' >>"${TEST_NAME}.json"