Skip to content

Commit

Permalink
Use low-latency relays for test_ui_tunnel_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Nov 14, 2024
1 parent 57a51e6 commit 893e1bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/test-manager/src/tests/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,19 @@ pub async fn test_ui_tunnel_settings(
rpc: ServiceClient,
mut mullvad_client: MullvadProxyClient,
) -> anyhow::Result<()> {
// NOTE: This test connects multiple times using various settings, some of which may cauase a
// significant increase in connection time, e.g. multihop and OpenVPN. For this reason, it is
// preferable to only target low latency servers.
use helpers::custom_lists::LowLatency;

// tunnel-state.spec precondition: a single WireGuard relay should be selected
log::info!("Select WireGuard relay");
let entry = helpers::constrain_to_relay(
&mut mullvad_client,
RelayQueryBuilder::new().wireguard().build(),
RelayQueryBuilder::new()
.wireguard()
.location(LowLatency)
.build(),
)
.await?;

Expand Down

0 comments on commit 893e1bb

Please sign in to comment.