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

Jun Gong commented on YARN-5043:
--------------------------------

Thanks [~sandflee].  As mentioned above, we should also wait for StateStore 
events to be processed, it is a important part. And it will be better to delete 
unnecessary sleeps.

> TestAMRestart.testRMAppAttemptFailuresValidityInterval random fail
> ------------------------------------------------------------------
>
>                 Key: YARN-5043
>                 URL: https://issues.apache.org/jira/browse/YARN-5043
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: sandflee
>            Assignee: Jun Gong
>         Attachments: TestAMRestart-output.txt, YARN-5043.01.patch, 
> YARN-5043.02.patch
>
>
> {noformat}
> Test set: 
> org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.558 sec 
> <<< FAILURE! - in 
> org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart
> testRMAppAttemptFailuresValidityInterval(org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart)
>   Time elapsed: 31.509 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2> but was:<3>
>     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.applicationsmanager.TestAMRestart.testRMAppAttemptFailuresValidityInterval(TestAMRestart.java:913)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to