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

Test failure - test_topology.TestTopologyErrors.test_pool_reset

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: