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

ASF subversion and git services commented on LUCENE-8163:
---------------------------------------------------------

Commit 840831fae0af9fe9c887c0501431932e813a5143 in lucene-solr's branch 
refs/heads/branch_7x from [~romseygeek]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=840831f ]

LUCENE-8163: BaseDirectoryTestCase produces random filenames that fail on 
Windows


> BaseDirectoryTestCase.testListAllIsSorted() can create Windows-incompatible 
> names
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-8163
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8163
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/test
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-8163.patch
>
>
> This test generates a random set of strings for use as filenames, and then 
> checks that the implementation under test returns them in sorted order from 
> listAll().  However, on Windows there are a number of filenames that are 
> disallowed (generally old-school handle names, eg con, prn, lpt1, etc), so if 
> the test generates one of them, and is being run on Windows, then 
> FileSystemExceptions can be thrown.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to