You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2013/10/10 16:26:20 UTC
svn commit: r1530993 -
/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
Author: markrmiller
Date: Thu Oct 10 14:26:19 2013
New Revision: 1530993
URL: http://svn.apache.org/r1530993
Log:
SOLR-5317: tests: Compare absolute paths
Modified:
lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java?rev=1530993&r1=1530992&r2=1530993&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java Thu Oct 10 14:26:19 2013
@@ -800,10 +800,10 @@ public class CollectionsAPIDistributedZk
}
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());
}
}