lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8163) BaseDirectoryTestCase.testListAllIsSorted() can create Windows-incompatible names
Date Thu, 08 Feb 2018 17:34:00 GMT

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

Adrien Grand commented on LUCENE-8163:
--------------------------------------

+1

> 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


Mime
View raw message