[SERVER-42829] A lot of test cases in `commands_lib.js` do not assert whether their setup succeeded Created: 15/Aug/19  Updated: 29/Oct/23  Resolved: 09/Apr/20

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2020-04-06, Security 2020-04-20
Participants:
Linked BF Score: 15

 Description   

The collMod test case is one example. Specifically, when run against a sharded cluster, this operation can fail and leave the database or collection not created, which in turn causes the rest of the test to fail with a missing database error.



 Comments   
Comment by Githook User [ 09/Apr/20 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-42829 Assert actions taken during setup/teardown
Branch: master
https://github.com/mongodb/mongo/commit/79bb229cae7a1e699fa5d8dffb975ad411b734b8

Generated at Thu Feb 08 05:01:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.