mirror of https://github.com/apache/lucene.git
SOLR-5317: tests: Compare absolute paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
33f7d2b5ea
commit
1c4c891e8e
|
@ -800,10 +800,10 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
|
|||
}
|
||||
|
||||
assertEquals(
|
||||
SolrResourceLoader.normalizeDir(jetty.getSolrHome() + File.separator
|
||||
+ core.getName()),
|
||||
SolrResourceLoader.normalizeDir((String) core.getStatistics().get(
|
||||
"instanceDir")));
|
||||
new File(SolrResourceLoader.normalizeDir(jetty.getSolrHome() + File.separator
|
||||
+ core.getName())).getAbsolutePath(),
|
||||
new File(SolrResourceLoader.normalizeDir((String) core.getStatistics().get(
|
||||
"instanceDir"))).getAbsolutePath());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue