print the reproduce line too, for uncaught exceptions

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044069 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-12-09 18:28:54 +00:00
parent 621cd9955e
commit 013cc3e216
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ public abstract class LuceneTestCase extends Assert {
if (!uncaughtExceptions.isEmpty()) {
testsFailed = true;
reportAdditionalFailureInfo();
System.err.println("The following exceptions were thrown by threads:");
for (UncaughtExceptionEntry entry : uncaughtExceptions) {
System.err.println("*** Thread: " + entry.thread.getName() + " ***");