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:
Erick Erickson 2013-06-21 22:17:30 +00:00
parent 6e2d5fd21a
commit 3b33ded21a
1 changed files with 1 additions and 2 deletions

View File

@ -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']"