MartijnVisser commented on code in PR #29517:
URL: https://github.com/apache/flink/pull/29517#discussion_r4337166922
##########
flink-tests/src/test/java/org/apache/flink/test/checkpointing/CheckpointAfterAllTasksFinishedITCase.java:
##########
@@ -128,6 +128,9 @@ void testRestoreAfterSomeTasksFinished() throws Exception {
env.enableCheckpointing(
Duration.ofNanos(Long.MAX_VALUE) /* max duration allowed
by FLINK */
.toMillis());
+ // one year is the maximum min pause the coordinator accepts
+ env.getCheckpointConfig()
+
.setMinPauseBetweenCheckpoints(Duration.ofDays(365).toMillis());
Review Comment:
I think `testImmediateCheckpointing` needs the same min pause. Locally it
took a periodic checkpoint in 20 of 20 runs, and in 12 of them the end-of-data
checkpoint was declined.
--
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]