You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/11/08 23:26:17 UTC

[jira] [Created] (HBASE-9928) TestHRegion should clean up test-data directory upon completion

Ted Yu created HBASE-9928:
-----------------------------

             Summary: TestHRegion should clean up test-data directory upon completion
                 Key: HBASE-9928
                 URL: https://issues.apache.org/jira/browse/HBASE-9928
             Project: HBase
          Issue Type: Test
            Reporter: Ted Yu


TestHRegion leaves some files behind in hbase-server/target/test-data directory after tests complete.
e.g. at the end of testRegionInfoFileCreation:
{code}
    // Verify that the .regioninfo file is still there
    assertTrue(HRegionFileSystem.REGION_INFO_FILE + " should be present in the region dir",
        fs.exists(new Path(regionDir, HRegionFileSystem.REGION_INFO_FILE)));
{code}
test-data directory should be cleaned upon completion.

I noticed this when looping TestHRegion in order to reproduce test failure.



--
This message was sent by Atlassian JIRA
(v6.1#6144)