print stack trace when thread test fails

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2008-09-12 21:14:08 +00:00
parent 5790a86987
commit f82e52e3bf
1 changed files with 1 additions and 0 deletions

View File

@ -818,6 +818,7 @@ public class TestIndexReaderReopen extends LuceneTestCase {
try {
this.task.run();
} catch (Throwable r) {
r.printStackTrace(System.out);
this.error = r;
}
}