[GODRIVER-278] Implement a mock server Created: 09/Mar/18  Updated: 24/Jul/20  Resolved: 24/Jul/20

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

Type: New Feature Priority: Minor - P4
Reporter: Kristofer Brandow (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We currently don't have a mock server for Go which complicates testing the topology package. Instead of creating a bunch of mock types that will require maintenance we should implement a mock server that can respond to at least isMaster requests and shut down at arbitrary points. This can be implemented either in process or out of process, but it should start and stop actual listeners so that we can use real network connections instead of mocking them.


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