Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 F24311075A for ; Mon, 27 Jan 2014 21:51:58 +0000 (UTC) Received: (qmail 15696 invoked by uid 500); 27 Jan 2014 21:51:47 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 15406 invoked by uid 500); 27 Jan 2014 21:51:44 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 15253 invoked by uid 99); 27 Jan 2014 21:51:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 21:51:42 +0000 Date: Mon, 27 Jan 2014 21:51:42 +0000 (UTC) From: "Mit Desai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-5838) TestCacheDirectives#testCreateAndModifyPools fails 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/HDFS-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mit Desai resolved HDFS-5838. ----------------------------- Resolution: Not A Problem The setup and teardown functions that run before and after the tests respectively happens to solve the problem. > TestCacheDirectives#testCreateAndModifyPools fails > -------------------------------------------------- > > Key: HDFS-5838 > URL: https://issues.apache.org/jira/browse/HDFS-5838 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Mit Desai > Assignee: Mit Desai > Labels: java7 > Attachments: HDFS-5838.patch > > > testCreateAndModifyPools generates an assertion fail when it runs after testBasicPoolOperations. > {noformat} > Running org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.045 sec <<< FAILURE! - in org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives > test(org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives) Time elapsed: 4.649 sec <<< FAILURE! > java.lang.AssertionError: expected no cache pools after deleting pool > at org.junit.Assert.fail(Assert.java:93) > at org.junit.Assert.assertTrue(Assert.java:43) > at org.junit.Assert.assertFalse(Assert.java:68) > at org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.testCreateAndModifyPools(TestCacheDirectives.java:334) > at org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.test(TestCacheDirectives.java:160) > Results : > Failed tests: > TestCacheDirectives.test:160->testCreateAndModifyPools:334 expected no cache pools after deleting pool > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)