Fix test_encrypted_disk_replication

This commit is contained in:
Vitaly Baranov 2023-04-26 15:20:00 +02:00
parent 592db18685
commit 681442f86c

View File

@ -52,9 +52,7 @@ def create_table(
):
engine = "ReplicatedMergeTree('/clickhouse/tables/encrypted_test/', '{replica}')"
settings = f"storage_policy='{storage_policy}'"
if zero_copy_replication:
settings += ", allow_remote_fs_zero_copy_replication=true"
settings = f"storage_policy='{storage_policy}', allow_remote_fs_zero_copy_replication={int(zero_copy_replication)}"
node1.query(
f"""