[SERVER-65545] Delegate ClockSourceMock creation to ServiceContextMongoDTest Created: 13/Apr/22  Updated: 29/Oct/23  Resolved: 14/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc1, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Execution Team 2022-04-18
Participants:

 Description   

After SERVER-65146, most unit tests should delegate mock clock setup to ServiceContextMongoDTest. For the remaining unit tests which still do this manually, we should ensure that this is the correct behavior. Otherwise certain components may end up with bad ClockSource pointers.



 Comments   
Comment by Githook User [ 15/Apr/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-65545 Delegate `ClockSourceMock` to `ServiceContextMongoDTest`

(cherry picked from commit 576ea084ea887f3f6bd1dd1f8aa12c1af33487d1)
Branch: v6.0
https://github.com/mongodb/mongo/commit/ad3b2e8eca1595d94fb096c4348f61b320ea4716

Comment by Githook User [ 14/Apr/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-65545 Delegate `ClockSourceMock` to `ServiceContextMongoDTest`
Branch: master
https://github.com/mongodb/mongo/commit/576ea084ea887f3f6bd1dd1f8aa12c1af33487d1

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