mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Simplify the integration test - use backup to File instead of Disk
This commit is contained in:
parent
946f2f0b39
commit
505b4d0112
@ -1,10 +1,6 @@
|
||||
<clickhouse>
|
||||
<storage_configuration>
|
||||
<disks>
|
||||
<bak>
|
||||
<type>local</type>
|
||||
<path>/var/lib/backups/</path>
|
||||
</bak>
|
||||
<one>
|
||||
<type>local</type>
|
||||
<path>/var/lib/disks/one/</path>
|
||||
@ -26,7 +22,6 @@
|
||||
</policies>
|
||||
</storage_configuration>
|
||||
<backups>
|
||||
<allowed_disk>bak</allowed_disk>
|
||||
<allowed_path>/var/lib/backups/</allowed_path>
|
||||
<allowed_path>/backups</allowed_path>
|
||||
</backups>
|
||||
</clickhouse>
|
||||
|
@ -32,7 +32,7 @@ def cleanup_after_test():
|
||||
def new_backup_name():
|
||||
global backup_id_counter
|
||||
backup_id_counter += 1
|
||||
return f"Disk('bak', '{backup_id_counter}/')"
|
||||
return f"File('/backups/{backup_id_counter}/')"
|
||||
|
||||
|
||||
def create_and_fill_table():
|
||||
|
Loading…
Reference in New Issue
Block a user