Description
This test started failed after PYTHON-2299
[2020/07/08 22:19:27.088] FAIL [2.035s]: test_monitor_waits_after_server_check_error (test_streaming_protocol.TestStreamingProtocol)
|
[2020/07/08 22:19:27.088] ----------------------------------------------------------------------
|
[2020/07/08 22:19:27.088] Traceback (most recent call last):
|
[2020/07/08 22:19:27.088] File "/data/mci/2eefa036962608665fecae269fa90a42/src/test/__init__.py", line 444, in wrap
|
[2020/07/08 22:19:27.088] return f(*args, **kwargs)
|
[2020/07/08 22:19:27.088] File "/data/mci/2eefa036962608665fecae269fa90a42/src/test/test_streaming_protocol.py", line 193, in test_monitor_waits_after_server_check_error
|
[2020/07/08 22:19:27.088] self.assertTrue(hb_succeeded_events[1].awaited)
|
[2020/07/08 22:19:27.088] AssertionError: False is not true
|
I suspect the cause is a race in the tests which leads to fewer heartbeat events than expected.
Attachments
Issue Links
- related to
-
PYTHON-2299 Add "awaited" field to ServerHeartbeat events
-
- Closed
-