mirror of https://github.com/apache/lucene.git
LUCENE-5475: add required attribute bugURL to BadApple
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7200196393
commit
e15aeb2859
|
@ -209,7 +209,10 @@ public abstract class LuceneTestCase extends Assert {
|
|||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@TestGroup(enabled = false, sysProperty = SYSPROP_BADAPPLES)
|
||||
public @interface BadApple {}
|
||||
public @interface BadApple {
|
||||
/** Point to JIRA entry. */
|
||||
public String bugUrl();
|
||||
}
|
||||
|
||||
/**
|
||||
* Annotation for test classes that should avoid certain codec types
|
||||
|
|
|
@ -36,7 +36,7 @@ import java.util.ArrayList;
|
|||
import java.util.Scanner;
|
||||
|
||||
@SuppressCodecs({"Lucene3x", "Lucene40", "Lucene41", "Lucene42", "Appending", "Asserting"})
|
||||
@BadApple
|
||||
@BadApple(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5302")
|
||||
public class ExpressionTest extends AbstractAnalyticsStatsTest {
|
||||
private static final String fileName = "/analytics/requestFiles/expressions.txt";
|
||||
|
||||
|
|
Loading…
Reference in New Issue