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

Remove host flag from integration tests

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 1.0.0-rc1
    • Testing

    Description

      x/network/integration and x/mongo/driver/integration tests take in a -host flag which defaults to 127.0.0.1:27017. 

      1. This default means tests will fail if the cluster you're testing against doesn't have a member on localhost:27017
      2. It looks like this flag isn't being used

      Removing this flag and setting the host from MONGODB_URI will give people more flexibility on how they run tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tim.fogarty@mongodb.com Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: