You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2014/01/27 20:05:37 UTC
[jira] [Updated] (HDFS-5838)
TestcacheDirectives#testCreateAndModifyPools fails
[ https://issues.apache.org/jira/browse/HDFS-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mit Desai updated HDFS-5838:
----------------------------
Attachment: HDFS-5838.patch
testBasicPoolOperations creates a pool "pool2" which gets never removed.
This pool pops up in the when the testCreateAndModifyPools checks for existing pools and gets an assertion fail
> 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
> 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)