YARN-6131. FairScheduler: Lower update interval for faster tests. (kasha)

This commit is contained in:
Karthik Kambatla 2017-01-30 13:35:23 -08:00
parent 312b36d113
commit 11e44bdda7
2 changed files with 2 additions and 0 deletions

View File

@ -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() {

View File

@ -93,6 +93,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(