Files
firezone/scripts/tests/perf/direct-udp-client2server.sh
Jamil a43f39ae8b perf: increase UDP send rate for performance test (#4793)
Now that we've worked out the flakiness from the iperf tests, we should
increase the UDP send rate so we have some benchmark of how many packets
we can actually handle before dropping.
2024-04-26 21:11:44 +00:00

15 lines
305 B
Bash
Executable File

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