Skip to content

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 11, 2025

I saw the swift test invocation time out on Windows recently. I don’t know what might have caused it (and can’t tell which test was timing out form the swift test output), so I’m speculatively adding some timeout checks that might catch infinite waiting during test execution.

ahoppen added 4 commits March 11, 2025 09:20
Just a speculative fix to avoid timeouts during the `swift test` invocation
Compare to the `while !AtomicBool.value { sleep }` pattern, this eventually times out, avoiding a timeout of the entire `swift test` invocation.
@ahoppen
Copy link
Member Author

ahoppen commented Mar 11, 2025

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Mar 11, 2025

@swift-ci Please test macOS

@ahoppen
Copy link
Member Author

ahoppen commented Mar 12, 2025

@swift-ci Please test macOS

@ahoppen ahoppen merged commit 9c867df into swiftlang:main Mar 13, 2025
3 checks passed
@ahoppen ahoppen deleted the test-timeout branch March 13, 2025 20:46
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