Closed Bug 2078647 Opened 1 month ago Closed 29 days ago

Test that a failure in the Draft phase doesn't restore a leftover backup

Categories

(Toolkit :: Application Update, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: yannis, Assigned: yannis)

References

Details

Attachments

(1 external file)

Part of bug 2076332. D329688 adds a test but it didn't get a review in time so didn't land nor get uplifted. Moving it to the current bug for clarity.

A non-staged complete update that fails in Draft has not created any backup yet,
while its rollback visits the precomplete removes of every file. Draft writes
only fail on their own in conditions that tests can't easily reproduce, such as
a full disk, so this adds a fault injection to the test updater.

Severity: -- → N/A
Status: NEW → ASSIGNED
Priority: -- → P3
Pushed by yjuglaret@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3c5471c4de8e https://hg.mozilla.org/integration/autoland/rev/0836fbea81ca Test that a failure in the Draft phase doesn't restore a leftover backup. r=application-update-reviewers,spohl
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: