Alan Woodward created LUCENE-8163:
-------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]