You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2019/12/06 15:13:00 UTC
[jira] [Commented] (SOLR-14028) Fix test permissions for
TestSolrCLIRunExample
[ https://issues.apache.org/jira/browse/SOLR-14028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989862#comment-16989862 ]
Kevin Risden commented on SOLR-14028:
-------------------------------------
[~rmuir] any ideas here?
{code:java}
<property name="common-solr.dir" value="C:\Users\vagrant\repos\apache\lucene-solr\solr"/>
{code}
and from https://github.com/apache/lucene-solr/blob/master/lucene/tools/junit4/solr-tests.policy#L24
{code:java}
permission java.io.FilePermission "${common-solr.dir}${/}-", "read";
{code}
So idk why the following error would be reported:
{code:java}
access denied ("java.io.FilePermission" "C:\Users\vagrant\repos\apache\lucene-solr\solr\example\exampledocs\*.xml" "read")
{code}
> 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
> Priority: Major
> Attachments: TEST-org.apache.solr.util.TestSolrCLIRunExample.xml, 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org