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

Varun Saxena commented on YARN-5815:
------------------------------------

[~bibinchundatt], thanks for the patch.
# Shouldn't we have another loop checking for the conditions which are failing 
instead of moving the loop down ?
# Also sleep in the loop should be set to a lower value than 500 ms.

> Random failure 
> TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-5815
>                 URL: https://issues.apache.org/jira/browse/YARN-5815
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>         Attachments: YARN-5815.0001.patch, YARN-5815.0002.patch
>
>
> {noformat}
> java.lang.AssertionError: expected:<2> but was:<0>
>       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.scheduler.capacity.TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart(TestApplicationPriority.java:707)
> {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