mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix test_backup_restore_on_cluster/test.py::test_stop_other_host_during_backup flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
c7c4166a73
commit
56dca144cc
@ -1096,6 +1096,7 @@ def test_stop_other_host_during_backup(kill):
|
||||
if status == "BACKUP_CREATED":
|
||||
node1.query("DROP TABLE tbl ON CLUSTER 'cluster' SYNC")
|
||||
node1.query(f"RESTORE TABLE tbl ON CLUSTER 'cluster' FROM {backup_name}")
|
||||
node1.query("SYSTEM SYNC REPLICA tbl")
|
||||
assert node1.query("SELECT * FROM tbl ORDER BY x") == TSV([3, 5])
|
||||
elif status == "BACKUP_FAILED":
|
||||
assert not os.path.exists(
|
||||
|
Loading…
Reference in New Issue
Block a user