mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
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.
18 lines
403 B
Bash
Executable File
18 lines
403 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 500M \
|
|
--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"
|