Apache Lucene open-source search software
Merged from trunk due to SOLR-2185: QueryElevationComponentTest depends on execution order - failed on Hudson only on this branch
Simon Willnauer26833e93156f
diff --git a/solr/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java b/solr/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.javaindex ebaacdfdb0e..725abebcd6f 100644--- a/solr/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java+++ b/solr/src/test/org/apache/solr/handler/component/QueryElevationComponentTest.java@@ -49,6 +49,15 @@ public class QueryElevationComponentTest extends SolrTestCaseJ4 {public static void beforeClass() throws Exception {initCore("solrconfig-elevate.xml","schema12.xml");}++ @Before+ @Override+ public void setUp() throws Exception{+ super.setUp();+ clearIndex();+ assertU(commit());+ assertU(optimize());+ }@Testpublic void testInterface() throws Exception