Skip to content

Commit

Permalink
Mitigate test_quantum_resistant_multihop_udp2tcp_tunnel flakiness
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MarkusPettersson98 committed Nov 8, 2024
1 parent 419a96a commit 724fbe9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test-manager/src/tests/tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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?;
Expand Down

0 comments on commit 724fbe9

Please sign in to comment.