[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: |