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:
Mark Robert Miller 2013-10-10 14:26:19 +00:00
parent 33f7d2b5ea
commit 1c4c891e8e
1 changed files with 4 additions and 4 deletions

View File

@ -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());
}
}