Skip to content

Commit c929b38

Browse files
committed
YARN-9540. TestRMAppTransitions fails intermittently. Contributed by Tao Yang.
1 parent 96f7dc1 commit c929b38

File tree

1 file changed

+1
-0
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp

1 file changed

+1
-0
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ protected RMApp testCreateAppFinished(
653653
RMAppEvent finishedEvent = new RMAppEvent(application.getApplicationId(),
654654
RMAppEventType.ATTEMPT_FINISHED, diagnostics);
655655
application.handle(finishedEvent);
656+
rmDispatcher.await();
656657

657658
//only run this verification if we created a finishing app
658659
if (submissionContext == null) {

0 commit comments

Comments
 (0)