[SERVER-81867] Remove concurrency assert helpers from jstests Created: 04/Oct/23  Updated: 29/Oct/23  Resolved: 12/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Yuhong Zhang
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-10-16
Participants:

 Description   

The assert helpers in https://github.com/mongodb/mongo/blob/master/jstests/concurrency/fsm_libs/assert.js don't really do anything different than assert. We tried to use them originally when we introduced the concurrency testing infrastructure but we never ended up fully implementing it and making it work.

As of today, we are still adding more and more instances of these asserts and engineers don't really understand what exactly they are doing. We should just remove them.



 Comments   
Comment by Githook User [ 12/Oct/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-81867 Remove concurrency assert helpers from jstests
Branch: master
https://github.com/mongodb/mongo/commit/e7dc7c9e239c1890caa679a7f4fd8af79270155c

Generated at Thu Feb 08 06:47:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.