You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky: test_a_tampered_data_file_fails_the_restore_before_any_item fails when it sees the target DELETING #993
#985 moved this cell onto _restore_fails. While it waits for the target to go, _wait_table_gone fails on any status other than CREATING. On PostgreSQL the removal of a failed restore's target passes through DELETING. abort_restore (crates/storage-postgres/src/backup_engine.rs line 957) sets the target to DELETING. The removal then drops the data and deletes the row where its status is DELETING (line 991). A DescribeTable in that window answers DELETING. The helper polls every 0.2 s, so the test fails only when a poll lands in the window.
The assertion checks that the target never became ACTIVE and writable. A DELETING table is not writable either.
Proposed fix: accept CREATING and DELETING in _wait_table_gone, and keep the failure for any other status.
Activity
test(backup): accept a DELETING restore target while the cell waits f…