You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/12/22 19:53:13 UTC
[jira] [Resolved] (LUCENE-6125) Add more safety checks to
MockDirectoryWrapper
[ https://issues.apache.org/jira/browse/LUCENE-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-6125.
---------------------------------
Resolution: Fixed
Fix Version/s: Trunk
5.0
> Add more safety checks to MockDirectoryWrapper
> ----------------------------------------------
>
> Key: LUCENE-6125
> URL: https://issues.apache.org/jira/browse/LUCENE-6125
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Fix For: 5.0, Trunk
>
> Attachments: LUCENE-6125.patch
>
>
> When working on LUCENE-6124, i had to force FSDirectory in my test to find bugs.
> for performance reasons, no IndexInput/Outputs are doing any checks like ensureOpen when reading and writing data, but MockDirectoryWrapper needs to do this so that tests can find bugs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org