[
https://issues.apache.org/jira/browse/YARN-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603484#comment-14603484
]
Masatake Iwasaki commented on YARN-2871:
----------------------------------------
Thanks for the investigation, [~zxu]. I found that
[org.mockito.Mockito.timeout|http://docs.mockito.googlecode.com/hg/1.8.5/org/mockito/Mockito.html#timeout(int)]
is used in some other tests using Mockito. It could be used here too.
> 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)