YARN-4989. TestWorkPreservingRMRestart#testCapacitySchedulerRecovery fails intermittently. Contributed by Ajith S.
(cherry picked from commit 28b66ae919
)
This commit is contained in:
parent
63da641910
commit
c540b9bd7b
|
@ -666,7 +666,7 @@ public class TestWorkPreservingRMRestart extends ParameterizedSchedulerTestBase
|
||||||
// Wait for RM to settle down on recovering containers;
|
// Wait for RM to settle down on recovering containers;
|
||||||
waitForNumContainersToRecover(2, rm2, am1_1.getApplicationAttemptId());
|
waitForNumContainersToRecover(2, rm2, am1_1.getApplicationAttemptId());
|
||||||
waitForNumContainersToRecover(2, rm2, am1_2.getApplicationAttemptId());
|
waitForNumContainersToRecover(2, rm2, am1_2.getApplicationAttemptId());
|
||||||
waitForNumContainersToRecover(2, rm2, am1_2.getApplicationAttemptId());
|
waitForNumContainersToRecover(2, rm2, am2.getApplicationAttemptId());
|
||||||
|
|
||||||
// Calculate each queue's resource usage.
|
// Calculate each queue's resource usage.
|
||||||
Resource containerResource = Resource.newInstance(1024, 1);
|
Resource containerResource = Resource.newInstance(1024, 1);
|
||||||
|
|
Loading…
Reference in New Issue