Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3153

Update initial DNS seedlist discovery tests to support dedicated load balancer port

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 4.2
    • Spec Comp
    • None
    • Hide

      DRIVERS-2224:
      The driver updates required in DRIVERS-1983 break the initial-dns-seedlist-discovery load-balanced tests because those tests still point the driver directly at the mongos instances, requiring that the driver still mocks the service ID. See this comment for more details about the test failures in the Go driver.

      Update those tests and the associated DNS records to point the driver at the load balancer started by run-load-balancer.sh, allowing drivers to stop mocking service ID.

      Here's the ticket for updating the DNS records: https://jira.mongodb.org/browse/BUILD-14668
      Here's a PR for the test changes: https://github.com/mongodb/specifications/pull/1148
      Here's the draft PR testing the spec test changes in the Go driver: https://github.com/mongodb/mongo-go-driver/pull/861

      Show
      DRIVERS-2224 : The driver updates required in DRIVERS-1983 break the initial-dns-seedlist-discovery load-balanced tests because those tests still point the driver directly at the mongos instances, requiring that the driver still mocks the service ID. See this comment for more details about the test failures in the Go driver. Update those tests and the associated DNS records to point the driver at the load balancer started by run-load-balancer.sh, allowing drivers to stop mocking service ID. Here's the ticket for updating the DNS records: https://jira.mongodb.org/browse/BUILD-14668 Here's a PR for the test changes: https://github.com/mongodb/specifications/pull/1148 Here's the draft PR testing the spec test changes in the Go driver: https://github.com/mongodb/mongo-go-driver/pull/861

    Description

      This ticket was split from DRIVERS-2224, please see that ticket for a detailed description.

      Attachments

        Issue Links

          Activity

            People

              steve.silvester@mongodb.com Steve Silvester
              dbeng-pm-bot PM Bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: