mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-21 18:41:38 +00:00
Our ICE timeout is ~15s, so it would be a good idea to ensure the perf tests span a possible ICE timeout if it occurs in the test, so that we may detect cases where high throughput may cause an ICE timeout.
18 lines
400 B
Bash
Executable File
18 lines
400 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 \
|
|
--reverse \
|
|
--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"
|