[
https://issues.apache.org/jira/browse/LUCENE-6265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329261#comment-14329261
]
Robert Muir commented on LUCENE-6265:
-------------------------------------
Well, i don't want to use "realistic" names because we are actually creating
the files. So it could screw operating systems etc up :)
I also like "extraNNNN" because it makes debugging easier.
Finally, i don't want to test the case of someone being abusive here. This is
about testing bonus files, which can happen by the OS. Very different from
some abusive user who is opening files up with their editor...
> 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: [email protected]
For additional commands, e-mail: [email protected]