mirror of https://github.com/apache/lucene.git
SOLR-2378: Ignoring benchmark test (enabled accidently in cleanup commit).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1087995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fd34f487c0
commit
e9bee5e152
|
@ -25,6 +25,7 @@ import org.apache.solr.spelling.suggest.jaspell.JaspellLookup;
|
||||||
import org.apache.solr.spelling.suggest.tst.TSTLookup;
|
import org.apache.solr.spelling.suggest.tst.TSTLookup;
|
||||||
import org.apache.solr.util.TermFreqIterator;
|
import org.apache.solr.util.TermFreqIterator;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
|
@ -139,14 +140,8 @@ public class SuggesterTest extends SolrTestCaseJ4 {
|
||||||
long lookupTime;
|
long lookupTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test @Ignore
|
||||||
public void testBenchmark() throws Exception {
|
public void testBenchmark() throws Exception {
|
||||||
// this benchmark is very time consuming
|
|
||||||
boolean doTest = true;
|
|
||||||
if (!doTest) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
final List<Class<? extends Lookup>> benchmarkClasses = Lists.newArrayList();
|
final List<Class<? extends Lookup>> benchmarkClasses = Lists.newArrayList();
|
||||||
benchmarkClasses.add(JaspellLookup.class);
|
benchmarkClasses.add(JaspellLookup.class);
|
||||||
benchmarkClasses.add(TSTLookup.class);
|
benchmarkClasses.add(TSTLookup.class);
|
||||||
|
|
Loading…
Reference in New Issue