Repository navigation
test: the event reader rows bound their waits for late failures - #772
Merged
Merged
Conversation
Under a fault that loses a late failure, the row waited forever and the test host never ended. Refs #758.
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.
What
OwnedEventReaderTestswaited for late cleanup failures with no bound. Under a fault that loses a late failure,CompleteAsync_Should_Bound_Stalls_Reach_Removal_And_Attach_Late_Failureswaited forever, and the test host never ended, which held a whole run.This bounds the five waits in that class with
HangGuard.Bound: theWaitForFailureAsynccall, and eachWaitForAllAsync, including those infinallyblocks. 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
OwnedCleanupwas 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.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.