HuangZhenQiu commented on a change in pull request #8952: URL: https://github.com/apache/flink/pull/8952#discussion_r547801045
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/active/ActiveResourceManagerTest.java ########## @@ -378,15 +382,69 @@ public void testOnError() throws Exception { }}; } - private static class Context { + @Test + public void testWorkerCreationInterval() throws Exception { + Configuration configuration = new Configuration(); + configuration.setDouble(ResourceManagerOptions.MAXIMUM_WORKERS_FAILURE_RATE, 1); + configuration.setLong(ResourceManagerOptions.WORKER_CREATION_RETRY_INTERVAL, + WORKER_CREATION_INTERVAL.toMilliseconds()); + new Context(configuration) {{ Review comment: Agree. But these configs are used for the initialization of the resource manager which is before calling the runTest. ---------------------------------------------------------------- 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: us...@infra.apache.org