[SERVER-26707] Always call tearDown after unittests end Created: 20/Oct/16  Updated: 31/Oct/16  Resolved: 21/Oct/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.0-rc2

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2016-10-31
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 21/Oct/16 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-26707 Always call tearDown after unittests end
Branch: master
https://github.com/mongodb/mongo/commit/b6fdf20fc99c416c45b3200b541fb4f90c30a3fd

Generated at Thu Feb 08 04:12:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.