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

integration tests should detect topology from connection, not TOPOLOGY envvar

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.2.0
    • 0.0.6
    • Testing
    • None

    Description

      My local mongodb test environment, which the driver to run tests normally via go tests, fails the Change Stream tests, because I have a replica set running locally, but the test fixtures assume that since the TOPOLOGY envvar isn't set, that it's a standalone.

      For some tests its reasonable to rely on the topology argument, but this one is awkward, as it means that my local system always fails.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: