[ https://issues.apache.org/jira/browse/FLINK-34933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-34933: ----------------------------------- Labels: pull-request-available (was: ) > 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.17.2, 1.19.0, 1.18.1, 1.20.0 > Reporter: Matthias Pohl > Assignee: Matthias Pohl > Priority: Major > Labels: pull-request-available > > {{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)