Skip to content

Commit 04af970

Browse files
committed
Increase timeout for cancel_backup integration tests
1 parent 678c52d commit 04af970

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/integration/test_backup_restore_new/test_cancel_backup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ def cancel_backup(backup_id):
105105
f"SELECT query_duration_ms FROM system.query_log WHERE query_kind='KillQuery' AND query LIKE '%{backup_id}%' AND type='QueryFinish'"
106106
)
107107
)
108-
assert kill_duration_ms < 2000 # Query must be cancelled quickly
108+
# Common failures in CI with 2000:
109+
# E assert 2520 < 2000
110+
# E assert 2210 < 2000
111+
# E assert 2160 < 2000
112+
# E assert 2143 < 2000
113+
# E assert 2495 < 2000
114+
assert kill_duration_ms < 4000 # Query must be cancelled quickly
109115

110116

111117
# Start restoring from a backup.

0 commit comments

Comments
 (0)