[
https://issues.apache.org/jira/browse/LUCENE-3195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048401#comment-13048401
]
Shai Erera commented on LUCENE-3195:
------------------------------------
bq. so that if one test blows it up, the rest are @Ignored?
That sounds good.
bq. They had better not! or, they should fail because they had file leaks!
Right :). But I meant what if N tests are run in parallel in the same JVM (do
we do that today?), and one test causes the TooManyOpenFiles exception (or FNFE
as you said), it'd be good to know which how many open files each test holds.
If tests are run sequentially in the same JVM though, then this is unnecessary
and we can do w/ that global counter + assume().
> MockDirectoryWrapper should throw 'too many open files' if too many are open
> ----------------------------------------------------------------------------
>
> Key: LUCENE-3195
> URL: https://issues.apache.org/jira/browse/LUCENE-3195
> Project: Lucene - Java
> Issue Type: Test
> Reporter: Robert Muir
>
> regardless of operating system.
> We should take a good default value, like the lowest one we consider
> 'reasonable' macosX? and it should throw exception on openInput if openFiles
> hashmap is too large.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]