Matthias Pohl created FLINK-34933: ------------------------------------- Summary: JobMasterServiceLeadershipRunnerTest#testResultFutureCompletionOfOutdatedLeaderIsIgnored isn't implemented properly Key: FLINK-34933 URL: https://issues.apache.org/jira/browse/FLINK-34933 Project: Flink Issue Type: Bug Components: Runtime / Coordination Affects Versions: 1.18.1, 1.19.0, 1.17.2, 1.20.0 Reporter: Matthias Pohl
{{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. -- This message was sent by Atlassian Jira (v8.20.10#820010)