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

Exceptions that escape a ScopedThread should fail the test

    • Minor Change
    • TIG 2018-09-24
    • 5

      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.

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: