tillrohrmann commented on a change in pull request #10682: 
[FLINK-15247][Runtime] Wait for all slots to be free before task executor 
services shutdown upon stopping
URL: https://github.com/apache/flink/pull/10682#discussion_r369023971
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskExecutorSubmissionTest.java
 ##########
 @@ -158,6 +160,7 @@ public void testTaskSubmission() throws Exception {
                        tmGateway.submitTask(tdd, env.getJobMasterId(), 
timeout).get();
 
                        taskRunningFuture.get();
+                       taskFinishedFuture.get();
 
 Review comment:
   I think we are overloading the test case here. The initial test case simply 
tests that we can submit a task if we have an assigned slot. What do you want 
to test here exactly?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to