Details
-
Test
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New, Patch Available
Description
On hudson we had several assertions failed in TestRAMDirectory, that were never caught by the error reportier in JUnit (as the test itsself did not fail). This patch adds a handler for uncaught exceptions to LuceneTestCase(J4) that let the test fail in tearDown().
Attachments
Attachments
Issue Links
- is duplicated by
-
LUCENE-1814 Some Lucene tests try and use a Junit Assert in new threads
- Closed
- is required by
-
LUCENE-2338 Some tests catch Exceptions in separate threads and just print a stack trace - the test does not fail
- Reopened