Merge pull request #28723 from azat/test_distributed_load_balancing-fix

Increase number of iterations in test_distributed_load_balancing (fixes flakiness)
This commit is contained in:
alexey-milovidov 2021-09-16 00:25:54 +03:00 committed by GitHub
commit b6b0e442fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ n2 = cluster.add_instance('n2', main_configs=['configs/remote_servers.xml'])
n3 = cluster.add_instance('n3', main_configs=['configs/remote_servers.xml'])
nodes = len(cluster.instances)
queries = nodes * 5
queries = nodes * 10
def bootstrap():
@ -43,21 +43,21 @@ def bootstrap():
replicas_cluster,
currentDatabase(),
data)
""".format())
""")
n.query("""
CREATE TABLE dist_priority AS data
Engine=Distributed(
replicas_priority_cluster,
currentDatabase(),
data)
""".format())
""")
n.query("""
CREATE TABLE dist_priority_negative AS data
Engine=Distributed(
replicas_priority_negative_cluster,
currentDatabase(),
data)
""".format())
""")
def make_uuid():