Merge pull request #60485 from ClickHouse/fix-test-custom-key-load-balancing

Fix: test_parallel_replicas_custom_key_load_balancing
This commit is contained in:
Igor Nikonov 2024-03-04 17:31:53 +01:00 committed by GitHub
commit 48745c95cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -109,6 +109,9 @@ def test_parallel_replicas_custom_key_load_balancing(
== "subqueries\t4\n"
)
# With enabled hedged requests, we can't guarantee exact query distribution among nodes
# In case of a replica being slow in terms of responsiveness, hedged connection can change initial replicas choice
if use_hedged_requests == 0:
# check queries per node
assert (
node1.query(