mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
As part of #4568, we are adding a 2nd relay which showed some short-comings of the current process state assertions because they were running outside the docker containers, thus listing all relays as soon as there are multiple.
13 lines
274 B
Bash
Executable File
13 lines
274 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 \
|
|
--client 172.20.0.110 \
|
|
--json' >>"${TEST_NAME}.json"
|
|
|
|
assert_process_state "gateway" "S"
|
|
assert_process_state "client" "S"
|