hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9928) TestHRegion should clean up test-data directory upon completion
Date Mon, 16 Dec 2013 23:36:07 GMT

     [ https://issues.apache.org/jira/browse/HBASE-9928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-9928:
--------------------------

    Fix Version/s: 0.99.0
                   0.98.0

> 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
>            Assignee: Gustavo Anatoly
>             Fix For: 0.98.0, 0.99.0
>
>         Attachments: HBASE-9928.patch
>
>
> 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.4#6159)

Mime
View raw message