You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/12/22 14:40:13 UTC
[jira] [Commented] (LUCENE-6125) Add more safety checks to
MockDirectoryWrapper
[ https://issues.apache.org/jira/browse/LUCENE-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255736#comment-14255736 ]
Adrien Grand commented on LUCENE-6125:
--------------------------------------
+1
> 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
> 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