Skip to content

Draft: backup: Add a test case for restoring a project deleted after db backup

Divya Rani requested to merge 5787-modify-test into master

What does this MR do and why?

We have raised a MR (gitaly!7315 (merged)) to add empty and non_existent fields to backup manifests, ensuring that previously skipped objects are now included in backups. But if a repository is deleted after the DB backup, it would not be included in the repository backup due to which the manifest file would be missing during restore. This would cause gitaly-backup to throw an error. This test case addresses that scenario.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #5787 (closed)

Edited by Divya Rani

Merge request reports

Loading