Apache Lucene open-source search software
print seed/debug info on uncaught exceptions
Robert Muir621cd9955ebb
diff --git a/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java b/lucene/src/test/org/apache/lucene/util/LuceneTestCase.javaindex 803dc9f65f3..88306511d73 100644--- a/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java+++ b/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java@@ -470,6 +470,7 @@ public abstract class LuceneTestCase extends Assert {try {if (!uncaughtExceptions.isEmpty()) {+ testsFailed = true;System.err.println("The following exceptions were thrown by threads:");for (UncaughtExceptionEntry entry : uncaughtExceptions) {System.err.println("*** Thread: " + entry.thread.getName() + " ***");