Skip to content

Conversation

@jakepetroules
Copy link
Collaborator

These occasionally fail nondeterministically; remove the property which allows them to do so (timing).

This also fixes some "off by one" errors that relying on a mock clock revealed -- there was an implicit assumption that sleep() would take a bit more time than requested, and environments with extreme timing sensitivity sometimes failed to do so.

@jakepetroules
Copy link
Collaborator Author

@swift-ci test

@jakepetroules
Copy link
Collaborator Author

@swift-ci test

These occasionally fail nondeterministically; remove the property which allows them to do so (timing).

This also fixes some "off by one" errors that relying on a mock clock revealed -- there was an implicit assumption that sleep() would take a bit more time than requested, and environments with extreme timing sensitivity sometimes failed to do so.
@jakepetroules
Copy link
Collaborator Author

@swift-ci test

@jakepetroules jakepetroules merged commit bd8b331 into swiftlang:main Dec 11, 2025
158 of 163 checks passed
@jakepetroules jakepetroules deleted the eng/PR-time-control branch December 11, 2025 20:49
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