lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6265) Add ExtrasFS to return "bonus" files/subdirs with directories.
Date Fri, 20 Feb 2015 17:55:13 GMT

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

Hoss Man commented on LUCENE-6265:
----------------------------------

bq. Maybe instead of extraXXX as file name also use the list of known offenders like {{.DSStore}}
to emulate more real-world examples. 

woudn't that introduce a risk of the test trying to muck with *actual* files created by the
OS on these types of filesystems?

> Add ExtrasFS to return "bonus" files/subdirs with directories.
> --------------------------------------------------------------
>
>                 Key: LUCENE-6265
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6265
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-6265.patch, LUCENE-6265.patch, LUCENE-6265.patch
>
>
> Lucene shouldn't care about files that don't match our index pattern. So if the operating
system makes .DS_Store, thumbs.db, .nfsXXXXX, it shouldnt matter.
> A few tests are sensitive to exact file names (they tend to be a pain for us anyway,
when we change codecs and so on), these tests can use SuppressFileSystems annotation in LUCENE-6264
to prevent this.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message