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/19 01:34:17 UTC

[jira] [Created] (LUCENE-6125) Add more safety checks to MockDirectoryWrapper

Robert Muir created LUCENE-6125:
-----------------------------------

             Summary: 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


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