[SERVER-24516] Construct OperationContexts with proper Client and ServiceContexts in repl tests Created: 10/Jun/16  Updated: 15/Feb/17  Resolved: 10/Jun/16

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

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

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 16 (06/24/16)
Participants:

 Description   

The replication_coordinator_impl_test does not always create OperationContexts with proper Clients and ServiceContexts. This makes changes to code tested by this test hard to effect, because you cannot count on the OperationContext being fully configured.

This task is to use properly constructed OperationContexts in the replication_coordinator_impl_test.



 Comments   
Comment by Githook User [ 10/Jun/16 ]

Author:

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

Message: SERVER-24516 Fix up repl coord tests to use OpCtx more safely.
Branch: master
https://github.com/mongodb/mongo/commit/faa72f6b4c750a131e854ab7f3da0790ac37629f

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