mirror of https://github.com/apache/lucene.git
add verbosity on failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
516f1a6195
commit
60d9125050
|
@ -226,6 +226,8 @@ public class TestSearcherManager extends ThreadedIndexingAndSearchingTestCase {
|
|||
} catch (AlreadyClosedException e) {
|
||||
// expected
|
||||
} catch (Throwable e) {
|
||||
System.out.println("FAIL: unexpected exc");
|
||||
e.printStackTrace(System.out);
|
||||
exc[0] = e;
|
||||
// use success as the barrier here to make sure we see the write
|
||||
success.set(false);
|
||||
|
|
Loading…
Reference in New Issue