[SERVER-77544] Don't register OpObservers on the ServiceContextTestFixture Created: 29/May/23  Updated: 29/Oct/23  Resolved: 30/May/23

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

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-2144-Cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-77213 Move the all transactions-related sta... Backlog
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-06-12
Participants:

 Description   

The OpObservers are exclusively a ShardRole (MongoD) concept whereas the ServiceContextTestFixture is supposed to be a generic low level utility for writing tests that need to have an OperationContext and don't necessarily access data.

Because of this, it should not know about OpObservers.



 Comments   
Comment by Githook User [ 30/May/23 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-77544 Don't register OpObservers on the ServiceContextTestFixture
Branch: master
https://github.com/mongodb/mongo/commit/98d0168eb4736e5f2d73e345a5f075a1cb7b688b

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