diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java index 97f719cbc5d..97b4f601942 100644 --- a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java +++ b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java @@ -188,17 +188,19 @@ public abstract class LuceneTestCase extends Assert { public @interface Slow {} /** - * Annotation for tests that fail frequently. You can disable them - * if you want to run a long build and not stop on something that - * is a known problem. + * Annotation for tests that fail frequently and should + * be moved to a "vault" plan in Jenkins. + * + * Tests annotated with this will be turned off by default. If you want to enable + * them, set: *
- * -Dtests.badapples=false + * -Dtests.badapples=true **/ @Documented @Inherited @Retention(RetentionPolicy.RUNTIME) - @TestGroup(enabled = true, sysProperty = SYSPROP_BADAPPLES) + @TestGroup(enabled = false, sysProperty = SYSPROP_BADAPPLES) public @interface BadApple {} /**