mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
Whenever we receive a `relays_presence` message from the portal, we invalidate the candidates of all now disconnected relays and make allocations on the new ones. This triggers signalling of new candidates to the remote party and migrates the connection to the newly nominated socket. This still relies on #4613 until we have #4634. Resolves: #4548. --------- Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
18 lines
402 B
Bash
Executable File
18 lines
402 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 50M \
|
|
--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"
|