Repository navigation
test: ingest refresh wait bounds compare against the timeout (flaky on macOS) - #1338
Merged
Merged
Conversation
test_ingest_refresh_wait (#1326) required a 50 ms refresh to end the wait within 150 ms; a loaded macOS runner overslept it (failed_refresh_ends_wait, line 66, Tier 2 macos-26 on #1336). What the test proves is that the wait ends at the refresh and not at the 5000 ms timeout, so bound it at 1000 ms. Refs #1284, #838
zackees
enabled auto-merge
October 17, 2026 20:26
This was referenced Oct 17, 2026
5 tasks
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_ingest_refresh_wait(added by #1326 for #1284) failed in Rust Tier 2 macos-26 on #1336 (unrelated PR):failed_refresh_ends_waitat line 66,ms < 150for a refresh signalled after a 50 msos_sleep_ms. A loaded macOS runner oversleeps that.The property under test is that the wait ends when the refresh ends, not at the 5000 ms timeout the old 10 ms polling loop waited out. Both upper bounds are now
< 1000ms: still 5× under the timeout, so the old behaviour still fails these cases, but without assuming sub-100 ms scheduling on CI. The lower bound (>= 40) and the timeout and reset cases are unchanged.This edits a test I added hours earlier in #1326, not an upstream C test, and no port depends on it.
Refs #1284, #838