mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix black
This commit is contained in:
parent
b928d8391e
commit
f9c1a44cae
@ -14,6 +14,7 @@ CLUSTER_NAME = "test_cluster"
|
||||
|
||||
drop_table_statement = f"DROP TABLE {TABLE_NAME} ON CLUSTER {CLUSTER_NAME} SYNC"
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def cluster():
|
||||
try:
|
||||
@ -59,6 +60,7 @@ def create_table(node, table_name, replica, **additional_settings):
|
||||
node.query(create_table_statement)
|
||||
assert node.query(f"SELECT COUNT(*) FROM {table_name} FORMAT Values") == "(0)"
|
||||
|
||||
|
||||
def get_large_objects_count(blob_container_client, large_size_threshold=100):
|
||||
return sum(
|
||||
blob["size"] > large_size_threshold
|
||||
|
@ -199,6 +199,7 @@ def test_backup_from_old_version_config(started_cluster):
|
||||
node3.query("DROP TABLE source_table")
|
||||
node3.query("DROP TABLE dest_table")
|
||||
|
||||
|
||||
def test_backup_and_alter(started_cluster):
|
||||
node4.query(
|
||||
"CREATE DATABASE test ENGINE=Ordinary"
|
||||
|
Loading…
Reference in New Issue
Block a user