Skip to content

Commit

Permalink
Fix test "test_cancel_backup".
Browse files Browse the repository at this point in the history
  • Loading branch information
vitlibar committed Feb 23, 2024
1 parent 86561b9 commit 3a9819b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -196,7 +196,8 @@ def test_cancel_backup():
start_restore(try_restore_id_1, backup_id)
cancel_restore(try_restore_id_1)

node.query(f"DROP TABLE tbl SYNC")
# IF EXISTS because it's unknown whether RESTORE had managed to create a table before it got cancelled.
node.query(f"DROP TABLE IF EXISTS tbl SYNC")

restore_id = uuid.uuid4().hex
start_restore(restore_id, backup_id)
Expand Down

0 comments on commit 3a9819b

Please sign in to comment.