-
Type: Task
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
test_exhaust is failing with PyMongo 3.12
FAIL [0.313s]: test_exhaust (test.asyncio_tests.test_asyncio_cursor.TestAsyncIOCursor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/shane/git/motor/test/asyncio_tests/__init__.py", line 48, in __call__ result = self.orig_method() File "/Users/shane/git/motor/test/asyncio_tests/__init__.py", line 213, in wrapped self.loop.run_until_complete(task) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/tasks.py", line 476, in wait_for return fut.result() File "/Users/shane/git/motor/test/asyncio_tests/test_asyncio_cursor.py", line 481, in test_exhaust self.assertTrue(sock.closed) AssertionError: False is not true
It passes with PyMongo 3.11 so something must have changed.
- is caused by
-
PYTHON-1272 Potential deadlock in an exhaust Cursor destructor
- Closed
- related to
-
MOTOR-769 Test failure - test_fetch_next_exception
- Closed