[SERVER-14980] Implement ReplicationExecutor fake clock, for testing Created: 20/Aug/14  Updated: 11/Jul/16  Resolved: 22/Aug/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.7.6

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Comments   
Comment by Githook User [ 22/Aug/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14980 Support fake clock in ReplicationExecutor for testing.

By always fetching the current time through the ReplicationExecutor's
NetworkInterface, and introducing some basic support for mocking the passage of
time, it is now possible to test replication components that depend on time's
passage in a non-racy manner in C++ unit tests.
Branch: master
https://github.com/mongodb/mongo/commit/a31db51d525fab001ac9b213cfc4a96b23ae7c16

Generated at Thu Feb 08 03:36:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.