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

Test Failure - test_use_after_close

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Unknown
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Failing because of the changes in PYTHON-2463:

       [2021/10/05 00:16:03.443] FAIL: test_use_after_close (test_encryption.TestClientSimple)
       [2021/10/05 00:16:03.443] ----------------------------------------------------------------------
       [2021/10/05 00:16:03.443] pymongo.errors.InvalidOperation: Once a MongoClient is closed, all operations will fail. Please create a new client object if you wish to reconnect.
       [2021/10/05 00:16:03.443] During handling of the above exception, another exception occurred:
       [2021/10/05 00:16:03.443] Traceback (most recent call last):
       [2021/10/05 00:16:03.443]   File "C:\data\mci\945e317adb605edf917a157e49f1745d\src\test\test_encryption.py", line 271, in test_use_after_close
       [2021/10/05 00:16:03.443]     client.admin.command('ping')
       [2021/10/05 00:16:03.443] Generating code
       [2021/10/05 00:16:03.443] AssertionError: "Cannot use MongoClient after close" does not match "Once a MongoClient is closed, all operations will fail. Please create a new client object if you wish to reconnect."
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_windows_encryption__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows~3.7_encryption~encryption_test_latest_standalone_9cb64775c97a800e2c3a7cf54cb732f95b37332b_21_09_29_23_36_50

        Attachments

          Issue Links

            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: