Skip to content

Apache Lucene open-source search software

SOLR-4228: fix maven test failure

Shawn Heiseyb4bf67871316
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6163a9bd140..51eff5b82dd 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -85,7 +85,7 @@ New Features
* SOLR-4048: Add findRecursive method to NamedList. (Shawn Heisey)
* SOLR-4228: SolrJ's SolrPing object has new methods for ping, enable, and
- disable. (Shawn Heisey)
+ disable. (Shawn Heisey, hossman, Steve Rowe)
Bug Fixes
----------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/request/SolrPingTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/request/SolrPingTest.java
index 0c633d4eb6d..0ed1cf25530 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/request/SolrPingTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/request/SolrPingTest.java
@@ -34,10 +34,7 @@ public class SolrPingTest extends SolrJettyTestBase {
@BeforeClass
public static void beforeClass() throws Exception {
- // The following works, but it seems like it's probably the wrong way to do
- // this.
- initCore("solrconfig.xml", "schema.xml", "../../test-files/solrj/solr",
- "collection1");
+ initCore("solrconfig.xml", "schema.xml", "solrj/solr", "collection1");
}
@Before