tillrohrmann commented on a change in pull request #7889: [FLINK-11665] Wait 
for job termination before recovery in Dispatcher
URL: https://github.com/apache/flink/pull/7889#discussion_r262441482
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/ZooKeeperHADispatcherTest.java
 ##########
 @@ -176,8 +183,7 @@ public void testSubmittedJobGraphRelease() throws 
Exception {
                                leaderElectionService.notLeader();
 
                                // wait for the job to properly terminate
-                               final CompletableFuture<Void> 
jobTerminationFuture = dispatcher.getJobTerminationFuture(jobId, TIMEOUT);
-                               jobTerminationFuture.get();
+                               dispatcher.getJobTerminationFuture(jobId, 
TIMEOUT).get();
 
 Review comment:
   refactorings should go into separate commits.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to