hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1873) TestDistributedShell#testDSShell fails
Date Wed, 26 Mar 2014 21:24:16 GMT

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

Zhijie Shen commented on YARN-1873:
-----------------------------------

Committed to trunk, branch-2 and branch-2.4. Thanks, [~mitdesai]!

> TestDistributedShell#testDSShell fails
> --------------------------------------
>
>                 Key: YARN-1873
>                 URL: https://issues.apache.org/jira/browse/YARN-1873
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Mit Desai
>            Assignee: Mit Desai
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: YARN-1873.patch, YARN-1873.patch, YARN-1873.patch
>
>
> testDSShell fails when the tests are run in random order. I see a cleanup issue here.
> {noformat}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.222 sec <<<
FAILURE! - in org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell
> testOrder(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
 Time elapsed: 44.127 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<6>
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.failNotEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:128)
> 	at org.junit.Assert.assertEquals(Assert.java:472)
> 	at org.junit.Assert.assertEquals(Assert.java:456)
> 	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShell(TestDistributedShell.java:204)
> 	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testOrder(TestDistributedShell.java:134)
> Results :
> Failed tests: 
>   TestDistributedShell.testOrder:134->testDSShell:204 expected:<1> but was:<6>
> {noformat}
> The Line numbers will be little deviated because I was trying to reproduce the error
by running the tests in specific order. But the Line that causes the assert fail is {{Assert.assertEquals(1,
entitiesAttempts.getEntities().size());}}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message