flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StefanRRichter <...@git.apache.org>
Subject [GitHub] flink pull request #5239: [FLINK-8360] Implement task-local state recovery
Date Wed, 14 Feb 2018 13:13:41 GMT
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 --
    
    👍 


---

Mime
View raw message