Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connection timeout errors caused by far away relays #7119

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MarkusPettersson98
Copy link
Contributor

@MarkusPettersson98 MarkusPettersson98 commented Nov 4, 2024

This PR introduces some changes to end-to-end test cases which has been shown to be particularly prone to timeout issues during the connecting phase. In an attempt to reduce the perceived flakiness, we restrict what relays may be selected to relays which are geographically close to the client under test in order to reduce the amount of latency in the system.

Looks promising: https://github.com/mullvad/mullvadvpn-app/actions/runs/11659693517/job/32460901751


This change is Reviewable

Limit relay selection in `test_quantum_resistant_multihop_shadowsocks_tunnel` to reduce flakiness.
Hopefully this should be able to (at least partially) mitigate timeout-related issues.
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.
Copy link

linear bot commented Nov 4, 2024

Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@MarkusPettersson98 MarkusPettersson98 marked this pull request as draft November 5, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants