You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/04/11 00:09:17 UTC

[jira] [Resolved] (LUCENE-2727) simulate out of open files in MockDirectoryWrapper

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

Michael McCandless resolved LUCENE-2727.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0

I just committed LUCENE-4738, which adds MDW.setRandomIOExceptionRateOnOpen to sometimes randomly throw exceptions from openInput and createOutput ...

But we still need to fix more tests to enable this ...
                
> simulate out of open files in MockDirectoryWrapper
> --------------------------------------------------
>
>                 Key: LUCENE-2727
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2727
>             Project: Lucene - Core
>          Issue Type: Test
>          Components: general/build
>            Reporter: Robert Muir
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-2727.patch, LUCENE-2727.patch
>
>
> currently we do disk-full tests (in writeBytes), but it would be good to have test coverage for the case
> where the machine runs out of open files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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