diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java index 3c7f9a18aa4..90aedcad8ae 100644 --- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java @@ -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()); } }