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

This commit is contained in:
Varun Saxena 2016-08-16 00:04:40 +05:30
parent 4766a3153d
commit 354afbb9df
1 changed files with 1 additions and 0 deletions

View File

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