Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.17.2, 1.19.0, 1.18.1, 1.20.0
Description
testResultFutureCompletionOfOutdatedLeaderIsIgnored doesn't test the desired behavior: The TestingJobMasterService#closeAsync() callback throws an UnsupportedOperationException by default which prevents the test from properly finalizing the leadership revocation.
The test is still passing because the test checks implicitly for this error. Instead, we should verify that the runner's resultFuture doesn't complete until the runner is closed.
Attachments
Issue Links
- Discovered while testing
-
FLINK-34672 HA deadlock between JobMasterServiceLeadershipRunner and DefaultLeaderElectionService
- In Progress
- links to