Skip to content

test: the event reader rows bound their waits for late failures - #772

Merged
Blind-Striker merged 1 commit into
masterfrom
test/758-bound-late-failure-waits
Nov 3, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
test/758-bound-late-failure-waits

Conversation

@Blind-Striker

@Blind-Striker Blind-Striker commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

What

OwnedEventReaderTests waited for late cleanup failures with no bound. Under a fault that loses a late failure, CompleteAsync_Should_Bound_Stalls_Reach_Removal_And_Attach_Late_Failures waited forever, and the test host never ended, which held a whole run.

This bounds the five waits in that class with HangGuard.Bound: the WaitForFailureAsync call, and each WaitForAllAsync, including those in finally blocks. No assertion and no expected result changes. It's a test-only change, five lines, made by hand.

Refs #758. It doesn't close that issue: the expiry row's retry at .NET 11 GA is still open there.

Checks

  • Under the fault: OwnedCleanup was mutated to observe a completed task instead of the late failure. Before, the row hung and the hang dump named it. Now it fails at 30 s, the guard's bound, and the host ends: 8 of 27 rows in the filter failed, in 31 s.
  • Windows gate, static and tests parts, on this commit: 13,599 of 13,599.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Under a fault that loses a late failure, the row waited forever and the test host never ended.
Refs #758.
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 3, 2026
Merged via the queue into master with commit 1fc1d6a Nov 3, 2026
14 checks passed
@Blind-Striker
Blind-Striker deleted the test/758-bound-late-failure-waits branch November 3, 2026 21:51
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