YARN-6131. FairScheduler: Lower update interval for faster tests. (kasha)
(cherry picked from commit 11e44bdda7
)
This commit is contained in:
parent
8b01d5cbba
commit
c9824c5ff6
|
@ -87,6 +87,7 @@ public abstract class ParameterizedSchedulerTestBase {
|
|||
|
||||
conf.set(YarnConfiguration.RM_SCHEDULER, FairScheduler.class.getName());
|
||||
conf.set(FairSchedulerConfiguration.ALLOCATION_FILE, FS_ALLOC_FILE);
|
||||
conf.setLong(FairSchedulerConfiguration.UPDATE_INTERVAL_MS, 10);
|
||||
}
|
||||
|
||||
public SchedulerType getSchedulerType() {
|
||||
|
|
|
@ -88,6 +88,7 @@ public class FairSchedulerTestBase {
|
|||
1024);
|
||||
conf.setInt(YarnConfiguration.RM_SCHEDULER_MAXIMUM_ALLOCATION_MB, 10240);
|
||||
conf.setBoolean(FairSchedulerConfiguration.ASSIGN_MULTIPLE, false);
|
||||
conf.setLong(FairSchedulerConfiguration.UPDATE_INTERVAL_MS, 10);
|
||||
conf.setFloat(FairSchedulerConfiguration.PREEMPTION_THRESHOLD, 0f);
|
||||
|
||||
conf.setFloat(
|
||||
|
|
Loading…
Reference in New Issue