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-2727) simulate out of open files in MockDirectoryWrapper
Date Thu, 28 Oct 2010 13:56:23 GMT

     [ 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

this is likely not the best way to do it, maybe we should actually track this idea separately
(like disk full).

But as a start i thought it might work to maybeThrowDeterministicException in openInput/createOutput...

though I'm not sure how many tests will give us 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message