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

Zhijie Shen commented on YARN-2216:
-----------------------------------

The reason should be the same as we found in YARN-1907. We may want increase 
the sleep time to 300ms for the allocate stage loop as well.

> TestRMApplicationHistoryWriter sometimes fails in trunk
> -------------------------------------------------------
>
>                 Key: YARN-2216
>                 URL: https://issues.apache.org/jira/browse/YARN-2216
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Minor
>
> From https://builds.apache.org/job/Hadoop-Yarn-trunk/595/ :
> {code}
> testRMWritingMassiveHistory(org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter)
>   Time elapsed: 33.469 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<10000> but was:<7156>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at org.junit.Assert.assertEquals(Assert.java:542)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:430)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ahs.TestRMApplicationHistoryWriter.testRMWritingMassiveHistory(TestRMApplicationHistoryWriter.java:391)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to