Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35154

Exceptions that escape a ScopedThread should fail the test

    XMLWordPrintable

    Details

      Description

      If you start a ScopedThread in a test and it throws an exception, that exception is swallowed and does not error the test, even if the main test thread calls join() and returnData() on the ScopedThread.
      This can lead to subtle problems with tests, and issues where tests are broken and no longer testing what they are supposed to, but no one notices.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: