[ 
https://issues.apache.org/jira/browse/YARN-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600744#comment-14600744
 ] 

zhihai xu commented on YARN-2871:
---------------------------------

[~iwasakims], thanks for the review. It looks like {{MockRM#waitForState}} 
won't meet my need, instead I check {{RMAppManager#completedAppsInStateStore}} 
to wait for less time in the new patch YARN-2871.001.patch.

> TestRMRestart#testRMRestartGetApplicationList sometime fails in trunk
> ---------------------------------------------------------------------
>
>                 Key: YARN-2871
>                 URL: https://issues.apache.org/jira/browse/YARN-2871
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: zhihai xu
>            Priority: Minor
>         Attachments: YARN-2871.000.patch, YARN-2871.001.patch
>
>
> From trunk build #746 (https://builds.apache.org/job/Hadoop-Yarn-trunk/746):
> {code}
> Failed tests:
>   TestRMRestart.testRMRestartGetApplicationList:957
> rMAppManager.logApplicationSummary(
>     isA(org.apache.hadoop.yarn.api.records.ApplicationId)
> );
> Wanted 3 times:
> -> at 
> org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartGetApplicationList(TestRMRestart.java:957)
> But was 2 times:
> -> at 
> org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.handle(RMAppManager.java:66)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to