Skip to content

⏱️ Increase interval test timeout for CI reliability#1144

Closed
cowboyd wants to merge 1 commit intov4from
windows-interval
Closed

⏱️ Increase interval test timeout for CI reliability#1144
cowboyd wants to merge 1 commit intov4from
windows-interval

Conversation

@cowboyd
Copy link
Copy Markdown
Member

@cowboyd cowboyd commented Apr 3, 2026

Motivation

In CI environments (especially Windows), 50ms is not enough time to reliably produce 10 intervals. The test flakes because the timeout fires before the intervals are observed.

Approach

Increase the interval test timeout from 50ms to 500ms. This has no impact on test duration since the race resolves as soon as 10 intervals are observed — the timeout only fires if something is actually broken.

In Windows CI, we don't reliably get 10 intervals in 50ms. Raise the
timeout to half a second. This won't add time to the test because it
passes as soon as 10 intervals are observed.
@cowboyd cowboyd requested review from jbolda and taras April 3, 2026 18:05
@cowboyd cowboyd changed the base branch from v3 to v4 April 3, 2026 18:06
@cowboyd
Copy link
Copy Markdown
Member Author

cowboyd commented Apr 3, 2026

bundled with #1145

@cowboyd cowboyd closed this Apr 3, 2026
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.

1 participant