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

Always call tearDown after unittests end

    • Fully Compatible
    • ALL
    • Repl 2016-10-31

      We currently don't call tearDown on certain test exceptions: https://github.com/mongodb/mongo/blob/master/src/mongo/unittest/unittest.cpp#L154. This can lead to improper shutdown, and in the case of the NetworkInterfaceMock, can lead to the test hanging indefinitely.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: