You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2012/09/17 22:46:11 UTC
svn commit: r1386827 -
/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
Author: dweiss
Date: Mon Sep 17 20:46:10 2012
New Revision: 1386827
URL: http://svn.apache.org/viewvc?rev=1386827&view=rev
Log:
SOLR-3766: made @BadApples annotation disabled by default (no tests are currently marked as @BadApples). Created a plan on Jenkins for running these called Lucene-BadApples-trunk-java7.
Modified:
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java?rev=1386827&r1=1386826&r2=1386827&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java (original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java Mon Sep 17 20:46:10 2012
@@ -188,17 +188,19 @@ public abstract class LuceneTestCase ext
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 <a href="https://builds.apache.org/job/Lucene-BadApples-trunk-java7/">"vault" plan in Jenkins</a>.
+ *
+ * Tests annotated with this will be turned off by default. If you want to enable
+ * them, set:
* <pre>
- * -Dtests.badapples=false
+ * -Dtests.badapples=true
* </pre>
*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
- @TestGroup(enabled = true, sysProperty = SYSPROP_BADAPPLES)
+ @TestGroup(enabled = false, sysProperty = SYSPROP_BADAPPLES)
public @interface BadApple {}
/**