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

Robert Muir commented on LUCENE-3195:
-------------------------------------

{quote}
Because "TestX" and "TestY" which run in this JVM may not keep any open files 
at the moment, so it's just noise that you need to filter?
{quote}

They had better not! or, they should fail because they had file leaks!

I think its useful to provide some debugging information, but on the other hand 
I also think the exception we throw should be as much as possible, exactly like 
the one the OS throws (isn't it FNFE or something strange?)


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

Reply via email to