Test Failure - test_connections_are_only_returned_once

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Fixed
    • Priority: Unknown
    • 4.18.0
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      test_connections_are_only_returned_once fails rarely:

       [2021/11/05 21:50:40.821] FAIL [0.007s]: test_connections_are_only_returned_once (test_load_balancer.TestLB)
       [2021/11/05 21:50:40.821] ----------------------------------------------------------------------
       [2021/11/05 21:50:40.821] Traceback (most recent call last):
       [2021/11/05 21:50:40.821]   File "/data/mci/1617ebf2e8af3b333b57d187a1b34c55/src/test/test_load_balancer.py", line 49, in test_connections_are_only_returned_once
       [2021/11/05 21:50:40.821]     self.assertEqual(len(pool.sockets), nconns)
       [2021/11/05 21:50:40.821] AssertionError: 9 != 10
      

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_amazon1_test_ssl__platform~awslinux_auth_ssl~noauth_nossl_python_version~pypy3.7_coverage~coverage_test_4.4_sharded_cluster_patch_420d74095defa9da150b8a7a33367d1a5be9d751_6185996357e85ac4f241209e_21_11_05_20_51_48/logs?execution=0&sortBy=STATUS&sortDir=ASC

            Assignee:
            Steve Silvester
            Reporter:
            Shane Harvey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: