lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4243) MockDirectoryWrapper synchronizes too much
Date Fri, 20 Jul 2012 20:39:34 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Muir updated LUCENE-4243:
--------------------------------

    Attachment: LUCENE-4243.patch
    
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message