YARN-9540. TestRMAppTransitions fails intermittently. Contributed by Tao Yang.
This commit is contained in:
parent
96f7dc1992
commit
c929b383f8
@ -653,6 +653,7 @@ protected RMApp testCreateAppFinished(
|
|||||||
RMAppEvent finishedEvent = new RMAppEvent(application.getApplicationId(),
|
RMAppEvent finishedEvent = new RMAppEvent(application.getApplicationId(),
|
||||||
RMAppEventType.ATTEMPT_FINISHED, diagnostics);
|
RMAppEventType.ATTEMPT_FINISHED, diagnostics);
|
||||||
application.handle(finishedEvent);
|
application.handle(finishedEvent);
|
||||||
|
rmDispatcher.await();
|
||||||
|
|
||||||
//only run this verification if we created a finishing app
|
//only run this verification if we created a finishing app
|
||||||
if (submissionContext == null) {
|
if (submissionContext == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user