Apache Solr open-source search software
Follow up cleanups to LUCENE-5622.
Dawid Weiss13767516cafd
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex 0faf7cfec66..8b75587e2ea 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -123,6 +123,11 @@ Bug fixes* LUCENE-5559: Add additional argument validation for CapitalizationFilterand CodepointCountFilter. (Ahmet Arslan via Robert Muir)+Test Framework++* LUCENE-5622: Fail tests if they print over the given limit of bytes to+ System.out or System.err. (Robert Muir, Dawid Weiss)+======================= Lucene 4.8.0 =======================System Requirementsdiff --git a/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleLimitSysouts.java b/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleLimitSysouts.javaindex 5298d7d640d..5885d823363 100644--- a/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleLimitSysouts.java+++ b/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleLimitSysouts.java@@ -192,8 +192,8 @@ public class TestRuleLimitSysouts extends TestRuleAdapter {}/**- * We're only interested in failing the suite if it was successful. Otherwise- * just propagate the original problem and don't bother.+ * We're only interested in failing the suite if it was successful (otherwise+ * just propagate the original problem and don't bother doing anything else).*/@Overrideprotected void afterIfSuccessful() throws Throwable {@@ -219,9 +219,6 @@ public class TestRuleLimitSysouts extends TestRuleAdapter {}}- /**- * Restore original streams.- */@Overrideprotected void afterAlways(List<Throwable> errors) throws Throwable {resetCaptureState();