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

Test failure - test_client.TestClient.test_continuous_network_errors

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.12, 3.11.3, 4.0
    • Affects Version/s: None
    • Component/s: Tests

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_requires_openssl_102_plus_test_encryption__platform~ubuntu_16.04_auth_ssl~noauth_nossl_python_version~3.7_encryption~encryption_test_4.4_replica_set_patch_86d58113e52c8331ef83fd5849019c5422d7e62b_5fbc3836d1fe072958b98951_20_11_23_22_31_19

       [2020/11/23 22:40:40.673] FAIL [0.241s]: test_continuous_network_errors (test_client.TestClient)
       [2020/11/23 22:40:40.673] ----------------------------------------------------------------------
       [2020/11/23 22:40:40.673] Traceback (most recent call last):
       [2020/11/23 22:40:40.673]   File "/data/mci/a9a0fb6f3f409ac6a1d2c8fe270b349f/src/test/test_client.py", line 1645, in test_continuous_network_errors
       [2020/11/23 22:40:40.673]     self.assertAlmostEqual(initial_count, final_count, delta=5)
       [2020/11/23 22:40:40.673] AssertionError: 20 != 14 within 5 delta (6 difference)
      

      This is just a flake. We should increase the delta from 5 to 10 to avoid these false positives.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: