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

Robert Muir updated LUCENE-2727:
--------------------------------

    Attachment: LUCENE-2727.patch

ok here's another start, using the idea of maybeThrowIOException too.

this makes things somewhat tricky, really tests that enable these ioexceptions 
aren't very prepared to handle them coming from the reader (note: the 
MockIndexInput etc never throws these, only output!)

i hacked a few of the tests, and _TestUtil.checkIndex, but there are a still a 
few more that need to be fixed.

The problem is, these are some of our best tests and I don't want us to 
actually lose coverage here...


> 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, 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