zentol commented on a change in pull request #6634: [FLINK-10208][build] Bump 
mockito to 2.21.0 / powermock to 2.0.0-beta.5
URL: https://github.com/apache/flink/pull/6634#discussion_r213907252
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/io/BarrierBufferTestBase.java
 ##########
 @@ -531,7 +532,7 @@ public void testMultiChannelSkippingCheckpoints() throws 
Exception {
 
                // checkpoint 3 aborted (end of partition)
                check(sequence[20], buffer.getNextNonBlocked(), PAGE_SIZE);
-               verify(toNotify).abortCheckpointOnBarrier(eq(3L), 
any(CheckpointDeclineSubsumedException.class));
+               verify(toNotify).abortCheckpointOnBarrier(eq(3L), 
any(InputEndOfStreamException.class));
 
 Review comment:
   @NicoK @zhijiangW I'd love to get your input here. As far as i can tell the 
existing code was simple wrong, as this exception wasn't supposed to be thrown 
in this situation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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