[
https://issues.apache.org/jira/browse/YARN-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sunil G updated YARN-3992:
--------------------------
Attachment: 0002-YARN-3992.patch
Thank you [~rohithsharma] for pointing out this.
A slight modification is done in the {{allocateAndWaitForContainers}} api to
pass host also. Please help to review the same.
> 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, 0002-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)