Apache Lucene open-source search software
Use stderr (not stdout) consistently for all messages
Robert Muird51dd5017e1d
diff --git a/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java b/lucene/src/test/org/apache/lucene/util/LuceneTestCase.javaindex 5141a49f97a..712f43b8b06 100644--- a/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java+++ b/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java@@ -377,7 +377,7 @@ public abstract class LuceneTestCase extends Assert {stores = null;// if verbose or tests failed, report some information backif (VERBOSE || testsFailed)- System.out.println("NOTE: test params are: codec=" + codecDescription ++ System.err.println("NOTE: test params are: codec=" + codecDescription +", locale=" + locale +", timezone=" + (timeZone == null ? "(null)" : timeZone.getID()));if (testsFailed) {@@ -943,7 +943,7 @@ public abstract class LuceneTestCase extends Assert {// We get here from InterceptTestCaseEvents on the 'failed' event....public void reportAdditionalFailureInfo() {- System.out.println("NOTE: reproduce with: ant test -Dtestcase=" + getClass().getSimpleName()+ System.err.println("NOTE: reproduce with: ant test -Dtestcase=" + getClass().getSimpleName()+ " -Dtestmethod=" + getName() + " -Dtests.seed=" + new TwoLongs(staticSeed, seed)+ reproduceWithExtraParams());}