Browse Source

YARN-9333. TestFairSchedulerPreemption.testRelaxLocalityPreemptionWithNoLessAMInRemainingNodes fails intermittently. Contributed by Peter Bacsko

Szilard Nemeth 4 năm trước cách đây
mục cha
commit
eacbe07b56

+ 1 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairSchedulerPreemption.java

@@ -94,6 +94,7 @@ public class TestFairSchedulerPreemption extends FairSchedulerTestBase {
     conf.setBoolean(FairSchedulerConfiguration.PREEMPTION, true);
     conf.setFloat(FairSchedulerConfiguration.PREEMPTION_THRESHOLD, 0f);
     conf.setInt(FairSchedulerConfiguration.WAIT_TIME_BEFORE_KILL, 0);
+    conf.setLong(FairSchedulerConfiguration.UPDATE_INTERVAL_MS, 60_000L);
     setupCluster();
   }