From 724fbe99894d3223cc0b6a5ef89fd512160e789f Mon Sep 17 00:00:00 2001 From: Markus Pettersson Date: Mon, 4 Nov 2024 08:12:29 +0100 Subject: [PATCH] Mitigate `test_quantum_resistant_multihop_udp2tcp_tunnel` flakiness Limit relay selection in `test_quantum_resistant_multihop_udp2tcp_tunnel` to reduce flakiness. Hopefully this should be able to (at least partially) mitigate timeout-related issues. --- test/test-manager/src/tests/tunnel.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test-manager/src/tests/tunnel.rs b/test/test-manager/src/tests/tunnel.rs index 1d4a54f88bf5..cdb890164bfa 100644 --- a/test/test-manager/src/tests/tunnel.rs +++ b/test/test-manager/src/tests/tunnel.rs @@ -524,6 +524,10 @@ pub async fn test_quantum_resistant_multihop_udp2tcp_tunnel( rpc: ServiceClient, mut mullvad_client: MullvadProxyClient, ) -> Result<(), Error> { + // NOTE: We have experienced flakiness due to timeout issues if distant relays are selected. + // This is an attempt to try to reduce this type of flakiness. + use helpers::custom_lists::LowLatency; + mullvad_client .set_quantum_resistant_tunnel(wireguard::QuantumResistantState::On) .await @@ -533,6 +537,8 @@ pub async fn test_quantum_resistant_multihop_udp2tcp_tunnel( .wireguard() .multihop() .udp2tcp() + .entry(LowLatency) + .location(LowLatency) .build(); apply_settings_from_relay_query(&mut mullvad_client, query).await?;