This is an automated email from the ASF dual-hosted git repository. mapohl pushed a commit to branch release-2.0 in repository https://gitbox.apache.org/repos/asf/flink.git
commit 4fbed74d11120d73bab511cdccec9b71e2f0a2e9 Author: Zdenek Tison <[email protected]> AuthorDate: Mon Feb 3 16:18:18 2025 +0100 [hotfix] Disable cooldown period to speed up test in UpdateJobResourceRequirementsITCase --- .../flink/test/scheduling/UpdateJobResourceRequirementsITCase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flink-tests/src/test/java/org/apache/flink/test/scheduling/UpdateJobResourceRequirementsITCase.java b/flink-tests/src/test/java/org/apache/flink/test/scheduling/UpdateJobResourceRequirementsITCase.java index fc03c17b182..1f96cb061ba 100644 --- a/flink-tests/src/test/java/org/apache/flink/test/scheduling/UpdateJobResourceRequirementsITCase.java +++ b/flink-tests/src/test/java/org/apache/flink/test/scheduling/UpdateJobResourceRequirementsITCase.java @@ -70,8 +70,11 @@ public class UpdateJobResourceRequirementsITCase { // speed the test suite up // - lower refresh interval -> controls how fast we invalidate ExecutionGraphCache // - lower slot idle timeout -> controls how fast we return idle slots to TM + // - disable cooldown after rescaling -> controls how fast we can rescale configuration.set(WebOptions.REFRESH_INTERVAL, Duration.ofMillis(50L)); configuration.set(JobManagerOptions.SLOT_IDLE_TIMEOUT, Duration.ofMillis(50L)); + configuration.set( + JobManagerOptions.SCHEDULER_EXECUTING_COOLDOWN_AFTER_RESCALING, Duration.ZERO); return configuration; }
