Skip to content
New issue

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

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

Already on GitHub? # to your account

Make the timeout test more resilient #510

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Sep 9, 2024

Since we don't keep timers sorted by deadline but by insertion order, the test is flaky in slow environments (GHA seemingly). Increase the timeouts to give it a bigger chance of success.

@saghul
Copy link
Contributor Author

saghul commented Sep 9, 2024

None no test fails because assertions on timeout are not propagated (I plan on fixing that soon), so one needs to check the test output. macOS and Windows usually fail all the time.

@saghul
Copy link
Contributor Author

saghul commented Sep 9, 2024

The asan / ubsan tests still fail, I guess they are too slow. I'll find a way to skip it there...

Since we don't keep timers sorted by deadline but by insertion order,
the test is flaky in slow environments (GHA seemingly). Increase the
timeouts to give it a bigger chance of success.

ASan / UBSan builds are notoriously slow, so skip the test in those.
@saghul saghul force-pushed the timeout-test-resilient branch from a89876c to c20a723 Compare September 9, 2024 14:51
@saghul saghul requested a review from bnoordhuis September 9, 2024 14:54
@saghul saghul merged commit 54afb19 into master Sep 9, 2024
50 checks passed
@saghul saghul deleted the timeout-test-resilient branch September 9, 2024 20:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants