You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/02/08 14:50:02 UTC

[jira] [Updated] (LUCENE-8163) BaseDirectoryTestCase.testListAllIsSorted() can create Windows-incompatible names

     [ https://issues.apache.org/jira/browse/LUCENE-8163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward updated LUCENE-8163:
----------------------------------
    Attachment: LUCENE-8163.patch

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org