You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2014/01/27 22:51:42 UTC
[jira] [Resolved] (HDFS-5838)
TestCacheDirectives#testCreateAndModifyPools fails
[ 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)