Description
This issue is cropping up again in PyPy tests:
[2022/11/14 17:05:48.282] FAIL [1.096s]: test_pool_paused_error_is_retryable (test_retryable_reads.TestPoolPausedError) |
[2022/11/14 17:05:48.282] ---------------------------------------------------------------------- |
[2022/11/14 17:05:48.282] Traceback (most recent call last): |
[2022/11/14 17:05:48.282] File "/data/mci/c4635f0de16c5c87d68f2a243064c584/src/test/__init__.py", line 603, in wrap |
[2022/11/14 17:05:48.282] return f(*args, **kwargs) |
[2022/11/14 17:05:48.282] File "/data/mci/c4635f0de16c5c87d68f2a243064c584/src/test/__init__.py", line 228, in wrap |
[2022/11/14 17:05:48.282] return f(*args, **kwargs) |
[2022/11/14 17:05:48.282] File "/data/mci/c4635f0de16c5c87d68f2a243064c584/src/test/test_retryable_reads.py", line 203, in test_pool_paused_error_is_retryable |
[2022/11/14 17:05:48.282] self.assertIsInstance(cmap_events[1], PoolClearedEvent, msg) |
[2022/11/14 17:05:48.282] AssertionError: ConnectionCheckOutFailedEvent(('localhost', 27018), 'connectionError') is not an instance of <class 'pymongo.monitoring.PoolClearedEvent'> : [PoolReadyEvent(('localhost', 27018)), |
[2022/11/14 17:05:48.282] PoolCreatedEvent(('localhost', 27017), {'maxPoolSize': 1}), |
[2022/11/14 17:05:48.282] PoolCreatedEvent(('localhost', 27019), {'maxPoolSize': 1}), |
[2022/11/14 17:05:48.282] ConnectionCheckOutStartedEvent(('localhost', 27018)), |
[2022/11/14 17:05:48.282] ConnectionCheckOutStartedEvent(('localhost', 27018)), |
[2022/11/14 17:05:48.282] ConnectionCreatedEvent(('localhost', 27018), 1), |
[2022/11/14 17:05:48.282] PoolReadyEvent(('localhost', 27017)), |
[2022/11/14 17:05:48.282] ConnectionReadyEvent(('localhost', 27018), 1), |
[2022/11/14 17:05:48.282] ConnectionCheckedOutEvent(('localhost', 27018), 1), |
[2022/11/14 17:05:48.282] ConnectionCheckOutFailedEvent(('localhost', 27018), 'connectionError'), |
[2022/11/14 17:05:48.282] PoolClearedEvent(('localhost', 27018), None), |
[2022/11/14 17:05:48.282] ConnectionCheckedInEvent(('localhost', 27018), 1), |
[2022/11/14 17:05:48.282] ConnectionClosedEvent(('localhost', 27018), 1, 'stale'), |
[2022/11/14 17:05:48.282] PoolReadyEvent(('localhost', 27018)), |
[2022/11/14 17:05:48.282] ConnectionCheckOutStartedEvent(('localhost', 27018)), |
[2022/11/14 17:05:48.282] ConnectionCreatedEvent(('localhost', 27018), 2), |
[2022/11/14 17:05:48.282] ConnectionCheckOutStartedEvent(('localhost', 27018)), |
[2022/11/14 17:05:48.282] ConnectionReadyEvent(('localhost', 27018), 2), |
[2022/11/14 17:05:48.282] ConnectionCheckedOutEvent(('localhost', 27018), 2), |
[2022/11/14 17:05:48.282] ConnectionCheckedInEvent(('localhost', 27018), 2), |
[2022/11/14 17:05:48.282] ConnectionCheckedOutEvent(('localhost', 27018), 2), |
[2022/11/14 17:05:48.282] ConnectionCheckedInEvent(('localhost', 27018), 2)] |
Attachments
Issue Links
- is related to
-
PYTHON-2534 Test failure - test_pool_paused_error_is_retryable
-
- Closed
-