lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6264) Add SuppressFileSystems annotation.
Date Thu, 19 Feb 2015 21:12:11 GMT


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message