Skip to content

Commit

Permalink
Address test_wireguard_over_shadowsocks flakiness
Browse files Browse the repository at this point in the history
Limit relay selection in
`test_wireguard_over_shadowsocks` to reduce flakiness.

Hopefully this should be able to (at least partially) mitigate timeout
related issues.
  • Loading branch information
MarkusPettersson98 committed Nov 12, 2024
1 parent f2cc8a9 commit b67023c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/test-manager/src/tests/tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,15 @@ pub async fn test_wireguard_over_shadowsocks(
rpc: ServiceClient,
mut mullvad_client: MullvadProxyClient,
) -> anyhow::Result<()> {
let query = RelayQueryBuilder::new().wireguard().shadowsocks().build();
// 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;

let query = RelayQueryBuilder::new()
.wireguard()
.shadowsocks()
.location(LowLatency)
.build();

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

Expand Down

0 comments on commit b67023c

Please sign in to comment.