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

Have integration tests get connection URI from environment

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1, 3.6.0-rc5
    • Component/s: All Tools
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: