YARN-9540. TestRMAppTransitions fails intermittently. Contributed by Tao Yang.

This commit is contained in:
Abhishek Modi 2019-08-30 17:17:43 +05:30
parent 96f7dc1992
commit c929b383f8
1 changed files with 1 additions and 0 deletions

View File

@ -653,6 +653,7 @@ public class TestRMAppTransitions {
RMAppEvent finishedEvent = new RMAppEvent(application.getApplicationId(),
RMAppEventType.ATTEMPT_FINISHED, diagnostics);
application.handle(finishedEvent);
rmDispatcher.await();
//only run this verification if we created a finishing app
if (submissionContext == null) {