gaborgsomogyi commented on code in PR #26285:
URL: https://github.com/apache/flink/pull/26285#discussion_r1989673113


##########
flink-libraries/flink-state-processing-api/src/test/java/org/apache/flink/state/api/SavepointWriterITCase.java:
##########
@@ -142,6 +146,9 @@ private void bootstrapState(StateBackend backend, String 
savepointPath) throws E
 
     private void validateBootstrap(Configuration configuration, String 
savepointPath)
             throws Exception {
+        CheckpointMetadata metadata = 
SavepointLoader.loadSavepointMetadata(savepointPath);
+        assertThat(metadata.getCheckpointId()).isEqualTo(CHECKPOINT_ID);

Review Comment:
   For reviewers, here I've added new assertion which covers this functionality.



##########
flink-libraries/flink-state-processing-api/src/test/java/org/apache/flink/state/api/SavepointWriterITCase.java:
##########
@@ -192,6 +199,9 @@ private void modifySavepoint(StateBackend backend, String 
savepointPath, String
 
     private void validateModification(Configuration configuration, String 
savepointPath)
             throws Exception {
+        CheckpointMetadata metadata = 
SavepointLoader.loadSavepointMetadata(savepointPath);
+        assertThat(metadata.getCheckpointId()).isEqualTo(CHECKPOINT_ID);

Review Comment:
   For reviewers, here I've added new assertion which covers this functionality.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to