Skip to content

Commit ea97ce9

Browse files
author
nick
committed
Added @cythontest and changelog entry
1 parent c5a2f86 commit ea97ce9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Unreleased
55
Bug Fixes
66
---------
77
* Connection setup methods prevent using ExecutionProfile in cqlengine (PYTHON-1009)
8+
* Driver deadlock if all connections dropped by heartbeat whilst request in flight and request times out (PYTHON-1044)
89

910
3.19.0
1011
======

tests/integration/simulacron/test_connection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from cassandra.policies import HostStateListener, RoundRobinPolicy
2828
from cassandra.io.asyncorereactor import AsyncoreConnection
2929
from tests import connection_class, thread_pool_executor_class
30+
from tests.unit.cython.utils import cythontest
3031
from tests.integration import (PROTOCOL_VERSION, requiressimulacron)
3132
from tests.integration.util import assert_quiescent_pool_state, late
3233
from tests.integration.simulacron import SimulacronBase
@@ -178,6 +179,7 @@ def test_callbacks_and_pool_when_oto(self):
178179
errback.assert_called_once()
179180
callback.assert_not_called()
180181

182+
@cythontest
181183
def test_heartbeat_defunct_deadlock(self):
182184
"""
183185
Ensure that there is no deadlock when request is in-flight and heartbeat defuncts connection

0 commit comments

Comments
 (0)