diff --git a/src/test/org/apache/solr/search/TestSearchPerf.java b/src/test/org/apache/solr/search/TestSearchPerf.java index 1d24a32ce70..2b049daf3a5 100755 --- a/src/test/org/apache/solr/search/TestSearchPerf.java +++ b/src/test/org/apache/solr/search/TestSearchPerf.java @@ -24,8 +24,15 @@ import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.BooleanClause; import org.apache.solr.util.AbstractSolrTestCase; import org.apache.solr.request.SolrQueryRequest; +import org.apache.solr.request.SolrQueryResponse; +import org.apache.solr.update.processor.UpdateRequestProcessorChain; +import org.apache.solr.update.processor.UpdateRequestProcessor; +import org.apache.solr.update.AddUpdateCommand; +import org.apache.solr.common.params.UpdateParams; +import org.apache.solr.common.SolrInputDocument; import java.util.Random; +import java.io.IOException; /** * @version $Id$ @@ -39,7 +46,6 @@ public class TestSearchPerf extends AbstractSolrTestCase { super.setUp(); } public void tearDown() throws Exception { - close(); super.tearDown(); } @@ -54,24 +60,44 @@ public class TestSearchPerf extends AbstractSolrTestCase { assertU(delQ("*:*")); for (int i=0; i