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:
Robert Muir 2014-02-26 18:31:39 +00:00
parent 7200196393
commit e15aeb2859
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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";