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/02/07 12:16:49 UTC
[GitHub] [flink] rkhachatryan commented on a change in pull request #18556: [FLINK-23559][tests] Randomize periodic materialisation interval in tests
rkhachatryan commented on a change in pull request #18556:
URL: https://github.com/apache/flink/pull/18556#discussion_r800597339
##########
File path: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/streaming/util/TestStreamEnvironment.java
##########
@@ -129,6 +129,16 @@ private static void randomizeConfiguration(MiniCluster miniCluster, Configuratio
boolean enabled =
randomize(conf, StateChangelogOptions.ENABLE_STATE_CHANGE_LOG, true, false);
if (enabled) {
+ randomize(
+ conf,
+ StateChangelogOptions.PERIODIC_MATERIALIZATION_INTERVAL,
+ Duration.ofMillis(100),
+ Duration.ofMillis(500),
+ Duration.ofSeconds(1),
+ Duration.ofSeconds(5),
+ Duration.ofMinutes(10),
+ Duration.ofSeconds(
+ Long.MAX_VALUE / 1000 /* max allowed by Duration.toMillis */));
Review comment:
I think you're right, 10 minutes is probably too much, I'll remove it.
--
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