pnowojski commented on a change in pull request #10435: [FLINK-13955][runtime] 
migrate ContinuousFileReaderOperator to the mailbox execution model
URL: https://github.com/apache/flink/pull/10435#discussion_r376296943
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/ContinuousFileProcessingRescalingTest.java
 ##########
 @@ -248,26 +239,28 @@ public String nextRecord(String reuse) {
                        return reachedEnd() ? null : split.getSplitNumber() + 
": test line " + state++;
                }
 
-               public void awaitFirstChunkProcessed() throws 
InterruptedException {
-                       firstChunkTrigger.await();
+               public boolean isFirstChunkProcessed() throws 
InterruptedException {
+                       return firstChunkTrigger.isTriggered();
 
 Review comment:
   nit: change latch to `boolean`?

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