mirror of https://github.com/apache/lucene.git
test class depended on the order of method execution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@992469 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4794d1eb63
commit
d735ea6e12
|
@ -35,6 +35,7 @@ import org.apache.solr.core.SolrCore;
|
|||
import org.apache.solr.handler.component.QueryElevationComponent.ElevationObj;
|
||||
import org.apache.solr.request.LocalSolrQueryRequest;
|
||||
import org.apache.solr.request.SolrQueryRequest;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -49,6 +50,14 @@ public class QueryElevationComponentTest extends SolrTestCaseJ4 {
|
|||
initCore("solrconfig-elevate.xml","schema12.xml");
|
||||
}
|
||||
|
||||
@Before
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
clearIndex();
|
||||
assertU(commit());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInterface() throws Exception
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue