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

integration tests should detect topology from connection, not TOPOLOGY envvar

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 0.0.6
    • Fix Version/s: 1.2.0
    • Component/s: Testing
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: