dawidwys commented on a change in pull request #16361:
URL: https://github.com/apache/flink/pull/16361#discussion_r669647194



##########
File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/io/checkpointing/CheckpointBarrierTrackerTest.java
##########
@@ -733,6 +762,32 @@ public void 
testNoFastPathWithChannelFinishedDuringCheckpointsCancel() throws Ex
         
assertFalse(inputGate.getCheckpointBarrierHandler().isCheckpointPending());
     }
 
+    @Test
+    public void testTwoLastBarriersOneByOne() throws Exception {
+        BufferOrEvent[] sequence = {
+            // start checkpoint 1
+            createBarrier(1, 1),
+            //  start checkpoint 2(just suppose checkpoint 1 was canceled)
+            createBarrier(2, 1),
+            // cancellation barrier of checkpoint 1

Review comment:
       nit: outdated comments. I can update while merging.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to