pnowojski commented on a change in pull request #9853: 
[FLINK-13904][checkpointing] Avoid competition of checkpoint triggering
URL: https://github.com/apache/flink/pull/9853#discussion_r335030476
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java
 ##########
 @@ -1347,6 +1356,7 @@ public void testTriggerAndConfirmSimpleSavepoint() 
throws Exception {
                CompletableFuture<CompletedCheckpoint> savepointFuture = 
coord.triggerSavepoint(timestamp, savepointDir);
                assertFalse(savepointFuture.isDone());
 
+               checkpointTriggeredLatch1.await();
 
 Review comment:
   Why do we need this latch?

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