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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]