You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sunil G (JIRA)" <ji...@apache.org> on 2015/07/29 20:44:05 UTC

[jira] [Updated] (YARN-3992) TestApplicationPriority.testApplicationPriorityAllocation fails intermittently

     [ https://issues.apache.org/jira/browse/YARN-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sunil G updated YARN-3992:
--------------------------
    Attachment: 0001-YARN-3992.patch

Thank you [~zjshen].  It seems we were not waiting for full containers to get allocated. I have now updated code so that we wait for all containers to get allocated. 

> TestApplicationPriority.testApplicationPriorityAllocation fails intermittently
> ------------------------------------------------------------------------------
>
>                 Key: YARN-3992
>                 URL: https://issues.apache.org/jira/browse/YARN-3992
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Zhijie Shen
>            Assignee: Sunil G
>         Attachments: 0001-YARN-3992.patch
>
>
> {code}
> java.lang.AssertionError: expected:<7> but was:<5>
> 	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.testApplicationPriorityAllocation(TestApplicationPriority.java:182)
> {code}



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