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

Robert Muir commented on LUCENE-6264:
-------------------------------------

Thats basically what caused me to disable mockwindows on windows: i don't 
completely understand the conditions where it returns this error.  But it can 
happen e.g. when just asking to read the attributes of the file (e.g. fstat), 
which is what MockWindows currently does internally and can fail on real 
windows (I think it could avoid this, but kinda silly).

> Add SuppressFileSystems annotation.
> -----------------------------------
>
>                 Key: LUCENE-6264
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6264
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-6264.patch
>
>
> kinda like SuppressCodecs, to make it easier to disable cornercases that 
> don't play with anything we are doing at this level.
> the one example we have today is LUCENE-5574, the bug just doesnt happen on 
> windows because you can't delete open files there, so the test won't work. 
> Today it uses a hacky method to disable mock windowsFS.
> But being able to easily turn these off for rare exotic cases, will make it 
> easier to improve/add them for the general case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to