[
https://issues.apache.org/jira/browse/LUCENE-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Weiss updated LUCENE-4058:
--------------------------------
Issue Type: Bug (was: Sub-task)
Parent: (was: LUCENE-3784)
> clean up MockDirectoryWrapper.close()
> -------------------------------------
>
> Key: LUCENE-4058
> URL: https://issues.apache.org/jira/browse/LUCENE-4058
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/test
> Affects Versions: 4.0
> Reporter: Robert Muir
>
> background on LUCENE-4047.
> MockDirectoryWrapper.close() should always try to close its wrapped resources
> in a finally block, even if its going to throw exceptions.
> Otherwise if lots of tests fail, resources could pile up (e.g. RAMDirs).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]