azagrebin commented on a change in pull request #6638: [FLINK-10267][State] Fix 
arbitrary iterator access on RocksDBMapIterator
URL: https://github.com/apache/flink/pull/6638#discussion_r214345264
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/state/StateBackendTestBase.java
 ##########
 @@ -2913,7 +2913,21 @@ public void testMapState() throws Exception {
                assertEquals(new HashMap<Integer, String>() {{ put(103, "103"); 
put(1031, "1031"); put(1032, "1032"); }},
                                getSerializedMap(restoredKvState2, "3", 
keySerializer, VoidNamespace.INSTANCE, namespaceSerializer, userKeySerializer, 
userValueSerializer));
 
-               backend.dispose();
+               // [FLINK-10267] validate arbitrary iterator access not 
throwing IllegalStateException
 
 Review comment:
   The test cases are already quite huge, can we create a separate one for this 
behaviour?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to