You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2013/04/23 12:55:16 UTC

[jira] [Updated] (DERBY-6193) AutomaticIndexStatisticsTest doesn't delete its single-use database

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

Knut Anders Hatlen updated DERBY-6193:
--------------------------------------

    Attachment: derby-6193-01-a.diff

There are more test cases in AutomaticIndexStatisticsTest that create extra database, but they have code to delete the database when they are done. I've copied this code to testCompressWhileScanning() and then the system/singleUse/copyCompress database is removed when the test completes. The attached patch makes that change, as well as wrapping a CleanDatabaseTestSetup around the test suite to make sure it cleans up the default database too.
                
> AutomaticIndexStatisticsTest doesn't delete its single-use database
> -------------------------------------------------------------------
>
>                 Key: DERBY-6193
>                 URL: https://issues.apache.org/jira/browse/DERBY-6193
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.3.0, 10.9.1.0, 10.10.1.1
>            Reporter: Knut Anders Hatlen
>         Attachments: derby-6193-01-a.diff
>
>
> After AutomaticIndexStatisticsTest has completed, the database it used is still present under system/singleUse/copyCompress and occupies 58MB of disk space. The test should clean up after itself when it's done.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira