[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org