Files
firezone/scripts/tests/perf/relayed-udp-client2server.sh
Thomas Eizinger b5e3ee8065 ci: reduce UDP perf test bitrate (#10153)
Forcing 500MBit/s through a relayed connection in CI makes the
user-space relay fall-over and drop control messages, leading to ICE
timeouts of the connection.
2025-08-06 09:11:57 +00:00

19 lines
417 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 \
--time 30 \
--udp \
--bandwidth 450M \
--client 172.20.0.110 \
--json' >>"${TEST_NAME}.json"
assert_process_state "relay-1" "S"
assert_process_state "relay-2" "S"
assert_process_state "gateway" "S"
assert_process_state "client" "S"