[
https://issues.apache.org/jira/browse/LUCENE-6265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329254#comment-14329254
]
Uwe Schindler commented on LUCENE-6265:
---------------------------------------
Cool. Maybe instead of extraXXX as file name also use the list of known
offenders like {{.DSStore}} to emulate more real-world examples. We can just
have a list of them. Another idea would be to let it create "backup" files by
adding another file with "~" or ".bak" at end whenever an IndexOutput is
created. This is also interesting, because those files could somehow match our
file name patterns.
> 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]