YARN-5521. Fix random failure of TestCapacityScheduler#testKillAllAppsInQueue (sandflee via Varun Saxena)
This commit is contained in:
parent
4766a3153d
commit
354afbb9df
|
@ -2184,6 +2184,7 @@ public class TestCapacityScheduler {
|
||||||
|
|
||||||
// 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