[
https://issues.apache.org/jira/browse/YARN-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457808#comment-13457808
]
Thomas Graves commented on YARN-43:
-----------------------------------
Looks like the trunk version of the test changed the variable name. I'll look
at implementing a destroy/reset type function in clusterMetrics.
> TestResourceTrackerService fail intermittently on jdk7
> ------------------------------------------------------
>
> Key: YARN-43
> URL: https://issues.apache.org/jira/browse/YARN-43
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.0.2-alpha, 0.23.3
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Labels: java7
> Attachments: YARN-43.patch
>
>
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.73 sec <<<
> FAILURE!
> testDecommissionWithIncludeHosts(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService)
> Time elapsed: 0.086 sec <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<0> but was:<1> at
> junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:283)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:195)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at
> org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testDecommissionWithIncludeHosts(TestResourceTrackerService.java:90)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira