[ 
https://issues.apache.org/jira/browse/LUCENE-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925866#action_12925866
 ] 

Robert Muir commented on LUCENE-2727:
-------------------------------------

bq. Hmm... should we also call maybeThrowIOException? Maybe make a new method 
maybeThrowAnyException

good idea :) it seems more tests turn on the random IOExceptions than register 
failOns, so we get more coverage.

Just gotta fix the tests (properly) to ignore/retry on these fake exceptions in 
certain places.

> simulate out of open files in MockDirectoryWrapper
> --------------------------------------------------
>
>                 Key: LUCENE-2727
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2727
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to