We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7252e4 commit 6cc6e02Copy full SHA for 6cc6e02
1 file changed
tests/integration/standard/test_cluster.py
@@ -771,6 +771,7 @@ def test_idle_heartbeat(self):
771
# make sure requests were sent on all connections
772
# Note: connections can be replaced in shard-aware environments, so we skip
773
# connections that weren't present in the initial snapshot
774
+ validated_connections = 0
775
for c in connections:
776
conn_id = id(c)
777
if conn_id not in connection_request_ids:
@@ -780,6 +781,9 @@ def test_idle_heartbeat(self):
780
781
expected_ids.rotate(-1)
782
with c.lock:
783
assertListEqual(list(c.request_ids), list(expected_ids))
784
+ validated_connections += 1
785
+
786
+ assert validated_connections > 0
787
788
# assert idle status
789
assert all(c.is_idle for c in connections)
0 commit comments