Github user StefanRRichter commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5239#discussion_r168169181
  
    --- Diff: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/operators/OperatorSnapshotFuturesTest.java
 ---
    @@ -46,20 +47,28 @@ public void testCancelAndCleanup() throws Exception {
                operatorSnapshotResult.cancel();
     
                KeyedStateHandle keyedManagedStateHandle = 
mock(KeyedStateHandle.class);
    -           RunnableFuture<KeyedStateHandle> keyedStateManagedFuture = 
mock(RunnableFuture.class);
    -           
when(keyedStateManagedFuture.get()).thenReturn(keyedManagedStateHandle);
    +           RunnableFuture<SnapshotResult<KeyedStateHandle>> 
keyedStateManagedFuture = mock(RunnableFuture.class);
    --- End diff --
    
    👍 


---

Reply via email to