You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/11/22 18:11:00 UTC
[jira] [Assigned] (SOLR-16553) SolrTestCaseJ4 solr.install.dir property not initialized
[ https://issues.apache.org/jira/browse/SOLR-16553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden reassigned SOLR-16553:
-----------------------------------
Assignee: Kevin Risden
> SolrTestCaseJ4 solr.install.dir property not initialized
> ---------------------------------------------------------
>
> Key: SOLR-16553
> URL: https://issues.apache.org/jira/browse/SOLR-16553
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ, Tests
> Affects Versions: 9.1
> Reporter: Bernd Wahlen
> Assignee: Kevin Risden
> Priority: Minor
>
> i tried to upgrade solr-solrj + solr-test-framework from 9.0 -> 9.1
> i have some Testcases extending SolrTestCaseJ4 and initialized like this.
> With 9.1 they fail with solr.install.dir property not initialized (i fixed this adding the system property to every test class like below).
> Is this change intended? (there is no solr installation, just the test framework running on temporary dir@build server).
> {code:java}
> @BeforeClass
> public static void beforeClass() throws Exception {
> System.setProperty("solr.install.dir", "./"); //inserted to keep running with solrj-9.1
> initCore("solrconfig.xml", "schema.xml", "./", "city_v2");
> lrf.qtype = "/select";
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org