summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-11-04 08:12:29 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-11-12 09:08:12 +0100
commit5b483ea6768eb6347f9fdc3deba60276fe3d1361 (patch)
tree3c342f8c5384045bb7e2dfe00942a8b43652618b /test
parent2e877a604988c5333672186794b4048e3b538866 (diff)
downloadmullvadvpn-5b483ea6768eb6347f9fdc3deba60276fe3d1361.tar.xz
mullvadvpn-5b483ea6768eb6347f9fdc3deba60276fe3d1361.zip
Address `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.
Diffstat (limited to 'test')
-rw-r--r--test/test-manager/src/tests/tunnel.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-manager/src/tests/tunnel.rs b/test/test-manager/src/tests/tunnel.rs
index 1d4a54f88b..cdb890164b 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?;