[Geoserver-devel] [jira] Created: (GEOS-1704) Mock testing directory cannot be deleted on windows, we need to add a Data.close() method

Mock testing directory cannot be deleted on windows, we need to add a Data.close() method
-----------------------------------------------------------------------------------------

                 Key: GEOS-1704
                 URL: http://jira.codehaus.org/browse/GEOS-1704
             Project: GeoServer
          Issue Type: Improvement
          Components: Global
    Affects Versions: 1.6.0-RC3
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.6.1, 1.7.0-beta1

On windows mock testing directories cannot be deleted because property files have something keeping a finger on them, and the same goes for coverages.
We need a Data.close() method to be called at the end of the tests so that all datastore and coverage readers will be closed, allowing MockData to actually
delete the mock data dir contents

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira