Robert Muir created LUCENE-4243:
-----------------------------------

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

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]

Reply via email to