fredia commented on code in PR #26416:
URL: https://github.com/apache/flink/pull/26416#discussion_r2032992661


##########
flink-state-backends/flink-statebackend-forst/src/test/java/org/apache/flink/state/forst/ForStStateMigrationTest.java:
##########
@@ -265,4 +265,56 @@ void 
testKryoRestoreResilienceWithDifferentRegistrationOrder(@TempDir File newTm
         }
         snapshot1.get().discardState();
     }
+
+    @Test
+    void testStateNamespaceSerializerChanged() throws Exception {
+        MapStateDescriptor<Integer, String> descriptor =
+                new MapStateDescriptor<>(
+                        "testState", IntSerializer.INSTANCE, 
StringSerializer.INSTANCE);
+
+        // set before namespace serializer IntSerializer.INSTANCE

Review Comment:
   ```suggestion
           // set the old namespace serializer to IntSerializer.INSTANCE
   ```



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to