Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C002E11D80 for ; Thu, 27 Mar 2014 13:52:27 +0000 (UTC) Received: (qmail 25918 invoked by uid 500); 27 Mar 2014 13:52:12 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 25679 invoked by uid 500); 27 Mar 2014 13:52:06 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 25457 invoked by uid 99); 27 Mar 2014 13:51:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 13:51:59 +0000 Date: Thu, 27 Mar 2014 13:51:58 +0000 (UTC) From: "Hudson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1873) TestDistributedShell#testDSShell fails when the test cases are out of order MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949327#comment-13949327 ] Hudson commented on YARN-1873: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #1739 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1739/]) YARN-1873. Fixed TestDistributedShell failure when the test cases are out of order. Contributed by Mit Desai. (zjshen: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1582060) * /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt * /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java > TestDistributedShell#testDSShell fails when the test cases are out of order > --------------------------------------------------------------------------- > > 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 > Labels: test > Fix For: 2.4.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)