[
https://issues.apache.org/jira/browse/SOLR-14028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16990305#comment-16990305
]
Robert Muir commented on SOLR-14028:
------------------------------------
Kevin i took a look at all your logs. This test is very complicated.
I do think its whack that the simple post tool it calls
File.isDirectory/isFile/canRead on a glob, assuming that these methods always
simply returns false (this is not true: they can throw SecurityException and
that is never handled), before falling back and trying to de-glob. I think we
should fix this logic?
The JDK is gonna create a java.io.FilePermission(path) and in this case it
contains * which has special meaning. So maybe it is some crazy behavior due to
that?
> Fix test permissions for TestSolrCLIRunExample
> ----------------------------------------------
>
> Key: SOLR-14028
> URL: https://issues.apache.org/jira/browse/SOLR-14028
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Tests
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Attachments: TEST-org.apache.solr.util.TestSolrCLIRunExample.xml,
> security_debug-TEST-org.apache.solr.util.TestSolrCLIRunExample.xml.zip,
> security_debug-tests-failures.txt.zip, tests-failures.txt
>
>
> This was found while looking at SOLR-14001. It fails on Windows:
> {code:java}
> ant test -Dtestcase=TestSolrCLIRunExample
> -Dtests.method=testTechproductsExample -Dtests.seed=8E1D2F05CF2F7CAF
> -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ms-SG
> -Dtests.timezone=Europe/Paris -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]