XComp commented on a change in pull request #14465:
URL: https://github.com/apache/flink/pull/14465#discussion_r549678847



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/TestingPhysicalSlotProvider.java
##########
@@ -104,6 +107,7 @@ void completePhysicalSlotFutureFor(
                                resourceProfile);
                        responses.get(slotRequestId).complete(physicalSlot);
                        availableSlotCount--;
+                       allocateLatch.countDown();

Review comment:
       Yes, it was actually used in `ExecutionTest` to wait for all requests to 
be finished. I refactored it as we have all the future available, anyway.




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


Reply via email to