mirror of https://github.com/apache/lucene.git
test fix for SOLR-4935, path separator issue (second)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b33ded21a
commit
fab1b8babf
|
@ -370,7 +370,7 @@ public class TestSolrXmlPersistence extends SolrTestCaseJ4 {
|
|||
String[] expressions = new String[2];
|
||||
String instHome = new File(solrHomeDirectory, "new_one").getAbsolutePath();
|
||||
expressions[0] = "/solr/cores/core[@name='new_one' and @instanceDir='" + instHome + "']";
|
||||
expressions[1] = "/solr/cores/core[@name='new_two' and @instanceDir='new_two/']";
|
||||
expressions[1] = "/solr/cores/core[@name='new_two' and @instanceDir='new_two" + File.separator + "']";
|
||||
|
||||
assertXmlFile(persistXml1, expressions);
|
||||
|
||||
|
|
Loading…
Reference in New Issue