Skip to content

Apache Lucene open-source search software

SOLR-2378: Ignoring benchmark test (enabled accidently in cleanup commit).

Dawid Weisse9bee5e15287
diff --git a/solr/src/test/org/apache/solr/spelling/suggest/SuggesterTest.java b/solr/src/test/org/apache/solr/spelling/suggest/SuggesterTest.java
index 85eb6734b5e..98ca32c5c8c 100644
--- a/solr/src/test/org/apache/solr/spelling/suggest/SuggesterTest.java
+++ b/solr/src/test/org/apache/solr/spelling/suggest/SuggesterTest.java
@@ -25,6 +25,7 @@ import org.apache.solr.spelling.suggest.jaspell.JaspellLookup;
import org.apache.solr.spelling.suggest.tst.TSTLookup;
import org.apache.solr.util.TermFreqIterator;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
import com.google.common.collect.Lists;
@@ -139,14 +140,8 @@ public class SuggesterTest extends SolrTestCaseJ4 {
long lookupTime;
}
- @Test
+ @Test @Ignore
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();
benchmarkClasses.add(JaspellLookup.class);
benchmarkClasses.add(TSTLookup.class);