rkhachatryan commented on a change in pull request #11515: [FLINK-16744][task] 
implement channel state persistence for unaligned checkpoints
URL: https://github.com/apache/flink/pull/11515#discussion_r401795556
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/SourceTaskTerminationTest.java
 ##########
 @@ -82,7 +84,7 @@ private void stopWithSavepointStreamTaskTestHelper(final 
boolean withMaxWatermar
                final Thread executionThread = srcTaskTestHarness.invoke();
                final StreamTask<Long, ?> srcTask = 
srcTaskTestHarness.getTask();
 
-               ready.await();
+               waitForLatchSetByTask(ready, srcTaskTestHarness);
 
 Review comment:
   ~~At some point, this test was failing with a timeout
   but It was unclear why do I get this timeout.
   I'll update the commit message to include`hotfix` and motivation.~~
   
   Removing the commit as it seems not necessary now.

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