Skip to content

Apache Lucene open-source search software

tests: fix failure due to other methods using same id space

Yonik Seeleyfca632d48bb9
diff --git a/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java b/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java
index 299ee484c42..73581093128 100644
--- a/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java
+++ b/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java
@@ -119,6 +119,8 @@ public class BasicFunctionalityTest extends SolrTestCaseJ4 {
@Test
public void testSomeStuff() throws Exception {
+ clearIndex();
+
// test merge factor picked up
SolrCore core = h.getCore();