YARN-5521. Fix random failure of TestCapacityScheduler#testKillAllAppsInQueue (sandflee via Varun Saxena)

This commit is contained in:
Varun Saxena 2016-08-16 00:03:16 +05:30
parent 83e57e083f
commit 24249115bf

View File

@ -2184,6 +2184,7 @@ public void testKillAllAppsInQueue() throws Exception {
// check postconditions
rm.waitForState(app.getApplicationId(), RMAppState.KILLED);
rm.waitForAppRemovedFromScheduler(app.getApplicationId());
appsInRoot = scheduler.getAppsInQueue("root");
assertTrue(appsInRoot.isEmpty());