Skip to content

Disable test_connectTimeout for flakiness on Linux #5046

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

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

jrflat
Copy link
Contributor

@jrflat jrflat commented Aug 2, 2024

TestURLSession.test_connectTimeout was failing on Ubuntu 22.04 CI and I also reproduced the failure on Amazon Linux 2. It generally only fails when all TestURLSession cases are run together, and I think it's related to stopping and starting the server during the test. Disable it for now while we figure out another way to test this specific connect timeout (a similar request timeout is still being tested by the test case above).

@jrflat
Copy link
Contributor Author

jrflat commented Aug 2, 2024

@swift-ci please test

@lxbndr
Copy link
Contributor

lxbndr commented Aug 2, 2024

I guess the only option is to create dedicated server instance for this test. I'll try implementing that.

@jrflat
Copy link
Contributor Author

jrflat commented Aug 6, 2024

Sounds good, thanks! I'm going to merge this for now while we look into that

@jrflat jrflat merged commit 45cb79c into swiftlang:main Aug 6, 2024
2 of 3 checks passed
jrflat added a commit to jrflat/swift-corelibs-foundation that referenced this pull request Aug 6, 2024
jrflat added a commit that referenced this pull request Aug 9, 2024
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.

3 participants