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 17b4ba5 commit debeae0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test-manager/src/tests/tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,13 @@ pub async fn test_quantum_resistant_multihop_udp2tcp_tunnel(
.wireguard()
.multihop()
.udp2tcp()
// NOTE: We have experienced flakiness due to timeout issues if distant relays are selected.
// This is an attempt to try to reduce this flakiness, but it relies on the following
// assumptions:
// 1. The client running this test is located in Sweden
// 2. There are at least two wireguard relays in Sweden
.entry(relay_constraints::GeographicLocationConstraint::country("se"))
.location(relay_constraints::GeographicLocationConstraint::country("se"))
.build();

apply_settings_from_relay_query(&mut mullvad_client, query).await?;
Expand Down

0 comments on commit debeae0

Please sign in to comment.