diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-11-12 11:28:16 +0100 |
|---|---|---|
| committer | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-11-14 17:31:40 +0100 |
| commit | 90ee7b5fb774c36dbc71b7b9a4f3e67b800fdf23 (patch) | |
| tree | 92199aed300e887c17dd23ab2f1b820fbf170655 /test | |
| parent | 54dd0ae3d4696e4e748586b0863db9b9d885973b (diff) | |
| download | mullvadvpn-90ee7b5fb774c36dbc71b7b9a4f3e67b800fdf23.tar.xz mullvadvpn-90ee7b5fb774c36dbc71b7b9a4f3e67b800fdf23.zip | |
Use low-latency relays for `test_ui_tunnel_settings`
Diffstat (limited to 'test')
| -rw-r--r-- | test/test-manager/src/tests/ui.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/test-manager/src/tests/ui.rs b/test/test-manager/src/tests/ui.rs index 53c769a7cc..994557748b 100644 --- a/test/test-manager/src/tests/ui.rs +++ b/test/test-manager/src/tests/ui.rs @@ -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?; |
