Skip to content

Remove flaky race-prone assertions in TestDriver#17144

Merged
pettyjamesm merged 1 commit intotrinodb:masterfrom
pettyjamesm:remove-flaky-testdriver-assertions
Apr 20, 2023
Merged

Remove flaky race-prone assertions in TestDriver#17144
pettyjamesm merged 1 commit intotrinodb:masterfrom
pettyjamesm:remove-flaky-testdriver-assertions

Conversation

@pettyjamesm
Copy link
Member

Description

Avoids asserting that driver destroyed future is not complete in TestDriver tests that do not block on BrokenOperator#close(). Otherwise the assertion is subject to a simple race condition causing sporadic test failures.

Fixes #16925

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

Avoids asserting that driver destroyed future is not complete in
TestDriver tests that do not block on BrokenOperator#close(). Otherwise
the assertion is subject to a simple race condition causing sporadic
test failures.
@pettyjamesm pettyjamesm merged commit 32bfda6 into trinodb:master Apr 20, 2023
@pettyjamesm pettyjamesm deleted the remove-flaky-testdriver-assertions branch April 20, 2023 20:21
@github-actions github-actions bot added this to the 415 milestone Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Flaky TestDriver.testBrokenOperatorCloseWhileProcessing

2 participants