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

Test failure - test_topology.TestTopologyErrors.test_pool_reset

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: Tests
    • None

      This test fails somewhat frequently:

      [2020/07/15 16:50:53.056] FAIL [0.505s]: test_pool_reset (test_topology.TestTopologyErrors)
      [2020/07/15 16:50:53.056] ----------------------------------------------------------------------
      [2020/07/15 16:50:53.056] Traceback (most recent call last):
      [2020/07/15 16:50:53.056]   File "/data/mci/53da9cfaa60c027b2ab1b91254fd372f/src/test/test_topology.py", line 725, in test_pool_reset
      [2020/07/15 16:50:53.056]     self.assertNotEqual(generation, server.pool.generation)
      [2020/07/15 16:50:53.056] AssertionError: 0 == 0
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_rhel62_test_ssl__platform~rhel62_auth~noauth_ssl~nossl_python_version~pypy_coverage~coverage_test_4.2_sharded_cluster_b6bf4f01576c087f187263357d5cb19b0ad03606_20_07_15_15_55_42

      I suspect a race in the test.

            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: