mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-02-06 09:16:28 +00:00
- 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
13 lines
262 B
Bash
Executable File
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"
|