Automatic style fix

This commit is contained in:
robot-clickhouse 2024-06-24 12:07:31 +00:00
parent 2f8dc8c833
commit e289fdb440

View File

@ -9,6 +9,7 @@ initiator = cluster.add_instance(
"initiator", main_configs=["configs/remote_servers.xml"], with_zookeeper=True "initiator", main_configs=["configs/remote_servers.xml"], with_zookeeper=True
) )
@pytest.fixture(scope="module") @pytest.fixture(scope="module")
def start_cluster(): def start_cluster():
try: try:
@ -40,10 +41,10 @@ def test_skip_all_replicas(start_cluster, skip_unavailable_shards):
with pytest.raises(QueryRuntimeException): with pytest.raises(QueryRuntimeException):
initiator.query( initiator.query(
f"SELECT key, count() FROM {table_name} GROUP BY key ORDER BY key", f"SELECT key, count() FROM {table_name} GROUP BY key ORDER BY key",
settings = { settings={
"allow_experimental_parallel_reading_from_replicas": 2, "allow_experimental_parallel_reading_from_replicas": 2,
"max_parallel_replicas": 3, "max_parallel_replicas": 3,
"cluster_for_parallel_replicas": cluster_name, "cluster_for_parallel_replicas": cluster_name,
"skip_unavailable_shards": skip_unavailable_shards, "skip_unavailable_shards": skip_unavailable_shards,
} },
) )