Skip to content

test: ingest refresh wait bounds compare against the timeout (flaky on macOS) - #1338

Merged
zackees merged 1 commit into
masterfrom
test/ingest-refresh-wait-bounds
Oct 17, 2026
Merged

zackees merged 1 commit into
masterfrom
test/ingest-refresh-wait-bounds

Conversation

@zackees

@zackees zackees commented Oct 17, 2026

Copy link
Copy Markdown
Member

test_ingest_refresh_wait (added by #1326 for #1284) failed in Rust Tier 2 macos-26 on #1336 (unrelated PR): failed_refresh_ends_wait at line 66, ms < 150 for a refresh signalled after a 50 ms os_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 < 1000 ms: 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

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
zackees enabled auto-merge October 17, 2026 20:26
@zackees
zackees added this pull request to the merge queue Oct 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 17, 2026
@zackees
zackees added this pull request to the merge queue Oct 17, 2026
Merged via the queue into master with commit d332747 Oct 17, 2026
23 checks passed
@zackees
zackees deleted the test/ingest-refresh-wait-bounds branch October 26, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant