[SERVER-33396] Update resmoke fixture API to raise exceptions on teardown failures Created: 20/Feb/18  Updated: 29/Oct/23  Resolved: 02/Mar/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Improvement Priority: Major - P3
Reporter: Yves Duhem Assignee: Yves Duhem
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: TIG 2018-03-12
Participants:

 Description   

The teardown method of fixtures returns a boolean to indicate success or failure.
To make this method consistent with other fixture methods and to enable future improvements around the suite execution flow, teardown() should be updated to raise exceptions on failure.



 Comments   
Comment by Githook User [ 02/Mar/18 ]

Author:

{'email': 'yves.duhem@mongodb.com', 'name': 'Yves Duhem', 'username': 'syev'}

Message: SERVER-33396 Update fixture teardown to throw ServerFailure
Branch: master
https://github.com/mongodb/mongo/commit/6618ad302577418504e9a1b7849bfa7d400d4c53

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