diff --git a/tests/integration/test_azure_blob_storage_zero_copy_replication/test.py b/tests/integration/test_azure_blob_storage_zero_copy_replication/test.py index 5ba40f60c53..136d2e2baf6 100644 --- a/tests/integration/test_azure_blob_storage_zero_copy_replication/test.py +++ b/tests/integration/test_azure_blob_storage_zero_copy_replication/test.py @@ -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 diff --git a/tests/integration/test_backup_with_other_granularity/test.py b/tests/integration/test_backup_with_other_granularity/test.py index e6739782644..9cb998fb505 100644 --- a/tests/integration/test_backup_with_other_granularity/test.py +++ b/tests/integration/test_backup_with_other_granularity/test.py @@ -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"