Apache Lucene open-source search software
LUCENE-3802: Add @Ignore annotation to AbstractGroupingTestCase to allow Maven Surefire to succeed (otherwise, Maven fails with error "No runnable methods!")
Steven Rowe83654b8431a4
diff --git a/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java b/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.javaindex b2a33f02ec1..21f570bc922 100644--- a/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java+++ b/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java@@ -24,6 +24,7 @@ import org.apache.lucene.search.SortField;import org.apache.lucene.util.BytesRef;import org.apache.lucene.util.LuceneTestCase;import org.apache.lucene.util._TestUtil;+import org.junit.Ignore;import java.util.ArrayList;import java.util.Comparator;@@ -37,6 +38,7 @@ import static org.junit.Assert.fail;* Base class for grouping related tests.*/// TODO (MvG) : The grouping tests contain a lot of code duplication. Try to move the common code to this class..+@Ignore("Maven Surefire will attempt to run this test suite without an @Ignore annotation.")public class AbstractGroupingTestCase extends LuceneTestCase {protected String generateRandomNonEmptyString() {