mirror of https://github.com/apache/lucene.git
test fix for SOLR-4935, path separator issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6e2d5fd21a
commit
3b33ded21a
|
@ -485,7 +485,6 @@ public class TestSolrXmlPersistence extends SolrTestCaseJ4 {
|
|||
cc.persistFile(persistXml);
|
||||
assertXmlFile(persistXml, getAllNodes(new File(solrHomeDirectory, "solr.xml")));
|
||||
|
||||
|
||||
// And the params for the new core should be in the persisted file.
|
||||
assertXmlFile
|
||||
(persistXml
|
||||
|
@ -493,7 +492,7 @@ public class TestSolrXmlPersistence extends SolrTestCaseJ4 {
|
|||
, "/solr/cores/core[@name='props1']/property[@name='prefix2' and @value='valueP2']"
|
||||
, "/solr/cores/core[@name='props1' and @transient='true']"
|
||||
, "/solr/cores/core[@name='props1' and @loadOnStartup='true']"
|
||||
, "/solr/cores/core[@name='props1' and @instanceDir='props1/']"
|
||||
, "/solr/cores/core[@name='props1' and @instanceDir='props1" + File.separator + "']"
|
||||
, "/solr/cores/core[@name='props2']/property[@name='prefix2_1' and @value='valuep2_1']"
|
||||
, "/solr/cores/core[@name='props2']/property[@name='prefix2_2' and @value='valueP2_2']"
|
||||
, "/solr/cores/core[@name='props2' and @config='solrconfig.xml']"
|
||||
|
|
Loading…
Reference in New Issue