Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1872

Have integration tests get connection URI from environment

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1, 3.6.0-rc5
    • Affects Version/s: None
    • Component/s: All Tools
    • Labels:
      None

      Integration tests hard-code expectations for mongod port, auth params, etc. mongoreplay also uses a different port setting. This makes it hard to easily/quickly test against different configurations.

      Many drivers projects pick up a MongoDB connection string URI from the environment if available. We should make the same change for tools and eventually migrate Evergreen testing to use that instead of a hard-coded host/port. That will allow us to expand our Evergreen testing to many more versions/topologies using mongo-orchestration and the driver evergreen tools.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: