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