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."
|
Attachments
Issue Links
- is caused by
-
PYTHON-2463 Do not allow a MongoClient to be reused after it is closed
-
- Closed
-