YARN-5521. Fix random failure of TestCapacityScheduler#testKillAllAppsInQueue (sandflee via Varun Saxena)
This commit is contained in:
parent
83e57e083f
commit
24249115bf
@ -2184,6 +2184,7 @@ public void testKillAllAppsInQueue() throws Exception {
|
|||||||
|
|
||||||
// check postconditions
|
// check postconditions
|
||||||
rm.waitForState(app.getApplicationId(), RMAppState.KILLED);
|
rm.waitForState(app.getApplicationId(), RMAppState.KILLED);
|
||||||
|
rm.waitForAppRemovedFromScheduler(app.getApplicationId());
|
||||||
appsInRoot = scheduler.getAppsInQueue("root");
|
appsInRoot = scheduler.getAppsInQueue("root");
|
||||||
assertTrue(appsInRoot.isEmpty());
|
assertTrue(appsInRoot.isEmpty());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user