rmetzger commented on a change in pull request #13217:
URL: https://github.com/apache/flink/pull/13217#discussion_r479980792
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/leaderelection/LeaderChangeClusterComponentsTest.java
##########
@@ -135,6 +138,8 @@ public void testReelectionOfJobMaster() throws Exception {
submissionFuture.get();
+ CommonTestUtils.waitUntilJobManagerIsInitialized(() ->
miniCluster.getJobStatus(jobId).get());
Review comment:
The next statement in the test is to revoke the JobMasterLeadership.
This revocation is only possible if we have leadership, which depends on the
job being initialized.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]