Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2274

Catch exceptions in Threads created by JUnit tasks

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • 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

        1. LUCENE-2274.patch
          6 kB
          Uwe Schindler
        2. LUCENE-2274.patch
          6 kB
          Uwe Schindler

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: