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

SRV polling check may incorrectly removes hosts after topology is discovered to be a replica set

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.13, 4.2
    • Affects Version/s: None
    • Component/s: Tests
    • None

      This failure has been seen intermittently today, restarting the task has allowed it to pass:

       [2022/01/13 22:20:27.361] FAIL [10.114s]: test_loadBalanced-false-txt (test_dns.TestDNSRepl)
       [2022/01/13 22:20:27.361] ----------------------------------------------------------------------
       [2022/01/13 22:20:27.361] Traceback (most recent call last):
       [2022/01/13 22:20:27.361]   File "/data/mci/a789e97913396b7f762bf5f0c76b1f17/src/test/test_dns.py", line 131, in run_test
       [2022/01/13 22:20:27.361]     'match test hosts to client nodes')
       [2022/01/13 22:20:27.361]   File "/data/mci/a789e97913396b7f762bf5f0c76b1f17/src/test/utils.py", line 755, in wait_until
       [2022/01/13 22:20:27.361]     raise AssertionError("Didn't ever %s" % success_description)
       [2022/01/13 22:20:27.361] AssertionError: Didn't ever match test hosts to client nodes
      

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_ubuntu18_test_ssl__platform~ubuntu_18.04_auth_ssl~auth_ssl_python_version~pypy3.6_coverage~coverage_test_3.6_replica_set_52ed5a4135a76480e03e96eb0369c2c4eae0c3f7_22_01_13_22_09_48/tests?execution=0&sortBy=STATUS&sortDir=ASC

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: