[
https://issues.apache.org/jira/browse/LUCENE-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4243:
--------------------------------
Attachment: LUCENE-4243.patch
Fixes 2 broken casts found in tests...
> MockDirectoryWrapper synchronizes too much
> ------------------------------------------
>
> Key: LUCENE-4243
> URL: https://issues.apache.org/jira/browse/LUCENE-4243
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/test
> Reporter: Robert Muir
> Attachments: LUCENE-4243.patch, LUCENE-4243.patch
>
>
> This could hide real underlying bugs.
> Instead we can:
> * make it extend BaseDirectoryWrapper, which checks index on close (but thats
> it)
> * occasionally return BaseDirectoryWrapper from newDirectory()
> * add newMockDirectory() for those specific tests that actually use its
> special stuff.
--
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]