[ https://issues.apache.org/jira/browse/YARN-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520339#comment-14520339 ]
Jian He commented on YARN-3533: ------------------------------- bq. getApplicationAttempt seems confusing, I just opened https://issues.apache.org/jira/browse/YARN-3546 to discuss this I replied on the jira. The TestContainerAllocation failure is unrelated to this patch. opening a new jira to fix that. committing this. > Test: Fix launchAM in MockRM to wait for attempt to be scheduled > ---------------------------------------------------------------- > > Key: YARN-3533 > URL: https://issues.apache.org/jira/browse/YARN-3533 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Affects Versions: 2.6.0 > Reporter: Anubhav Dhoot > Assignee: Anubhav Dhoot > Attachments: YARN-3533.001.patch > > > MockRM#launchAM fails in many test runs because it does not wait for the app > attempt to be scheduled before NM update is sent as noted in [recent > builds|https://issues.apache.org/jira/browse/YARN-3387?focusedCommentId=14507255&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14507255] -- This message was sent by Atlassian JIRA (v6.3.4#6332)