[GODRIVER-1249] Implement a mock deployment Created: 23/Aug/19  Updated: 28/Oct/23  Resolved: 27/Aug/19

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.0

Type: Task Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on GODRIVER-1250 Change Client to depend on Deployment... Closed
Epic Link: Robust Testing Framework

 Description   

As part of the integration testing epic, we should create a type that implements the driver.Deployment interface. Most of the features that need to be tested using mocks are 3.6 and above so this deployment can use just OP_MSG for the time being.

EDIT: Originally, the work for this ticket also involved changing Client to depend on Deployment instead of Topology and adding a NewClientFromDeployment function but that work has been separated off into GODRIVER-1250 instead.



 Comments   
Comment by Githook User [ 27/Aug/19 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Implement OP_MSG mock deployment.

GODRIVER-1249

Change-Id: I66558006a8deb1459aa67164cf30865f08e6ab2c
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/2687c6c97d92561363e6637be4243a14f6da23f3

Comment by Divjot Arora (Inactive) [ 26/Aug/19 ]

CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/466306

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