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 2019/09/06 11:31:43 UTC

[GitHub] [flink] tillrohrmann commented on a change in pull request #9637: [FLINK-13884] Set default delay for restart strategies to 1s

tillrohrmann commented on a change in pull request #9637: [FLINK-13884] Set default delay for restart strategies to 1s
URL: https://github.com/apache/flink/pull/9637#discussion_r321692992
 
 

 ##########
 File path: flink-tests/src/test/java/org/apache/flink/test/recovery/SimpleRecoveryFailureRateStrategyITBase.java
 ##########
 @@ -43,7 +43,7 @@ private static Configuration getConfiguration() {
 		config.setString(RestartStrategyOptions.RESTART_STRATEGY, "failure-rate");
 		config.setInteger(RestartStrategyOptions.RESTART_STRATEGY_FAILURE_RATE_MAX_FAILURES_PER_INTERVAL, 1);
 		config.setString(RestartStrategyOptions.RESTART_STRATEGY_FAILURE_RATE_FAILURE_RATE_INTERVAL, "1 second");
-		config.setString(RestartStrategyOptions.RESTART_STRATEGY_FAILURE_RATE_DELAY, "100 ms");
+		config.setString(RestartStrategyOptions.RESTART_STRATEGY_FAILURE_RATE_DELAY, "0 s");
 
 Review comment:
   This is true. It speeds up the test though. I'll add it as a separate hotfix commit.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services