You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/03/15 08:26:55 UTC

[GitHub] [flink] rkhachatryan commented on a change in pull request #19079: [FLINK-26573][test] Do not resolve the metadata file which is in prog…

rkhachatryan commented on a change in pull request #19079:
URL: https://github.com/apache/flink/pull/19079#discussion_r826697410



##########
File path: flink-tests/src/test/java/org/apache/flink/test/checkpointing/ChangelogPeriodicMaterializationTestBase.java
##########
@@ -234,6 +235,25 @@ protected JobID generateJobID() {
         return Collections.emptySet();
     }
 
+    private static Optional<CheckpointMetadata> getMostRecentCompletedCheckpointMetadata(
+            File checkpointFolder) throws IOException {
+        try {

Review comment:
       Thanks for the fix @masteryhx. I think it's correct.
   However, it only solves the problem for the current test. There are a couple of more tests using the same code.
   Maybe it makes sense to fix it in `TestUtils`?




-- 
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-unsubscribe@flink.apache.org

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