Skip to content

Commit

Permalink
[hotfix] Disable cooldown period to speed up test in UpdateJobResourc…
Browse files Browse the repository at this point in the history
…eRequirementsITCase
  • Loading branch information
ztison authored and XComp committed Feb 5, 2025
1 parent 1ff7433 commit 4fbed74
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ private static Configuration createConfiguration() {
// 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;
}

Expand Down

0 comments on commit 4fbed74

Please sign in to comment.