Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-278

Implement a mock server

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Testing
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: