From 893e1bb02fcdd07edb54789c31002de2c36fa3ae Mon Sep 17 00:00:00 2001 From: Sebastian Holmin Date: Tue, 12 Nov 2024 11:28:16 +0100 Subject: [PATCH] Use low-latency relays for `test_ui_tunnel_settings` --- test/test-manager/src/tests/ui.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/test-manager/src/tests/ui.rs b/test/test-manager/src/tests/ui.rs index 266624cc68ed..55262146e5a7 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?;