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 12, 2024
1 parent 1320907 commit 49f169d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 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,18 @@ pub async fn test_ui_tunnel_settings(
rpc: ServiceClient,
mut mullvad_client: MullvadProxyClient,
) -> anyhow::Result<()> {
// NOTE: We have experienced flakiness due to timeout issues when fetching the outgoing IP when
// distant relays are used. This is why we use a low-latency relay here.
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 49f169d

Please sign in to comment.