Always call tearDown after unittests end

XMLWordPrintableJSON

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

      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
            Reporter:
            Judah Schvimer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: