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

Test Failure - test_connections_are_only_returned_once

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Tests

      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:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: