Closed Bug 860677 Opened 12 years ago Closed 12 years ago

Remove already downloaded but not removed updates at the end of update tests

Categories

(Mozilla QA Graveyard :: Mozmill Automation, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

While investigating bug 803489 I have seen that in cases of aborts already downloaded updates still exist and can cause problems the next time we trigger an update test. We have to remove those files at the end of the testrun.
So we have to retrieve the update path from Firefox and delete everything in the automation script. That re-instantiates bug 842571 in some way. After digging around I have found that with bug 750554 we got the getUpdatesDirectory() on the AUS service, which certainly helps us here and also could be used to fix bug 842571.
Depends on: 860703
Attached patch Patch v1Splinter Review
Patch for review. It works fine on Linux, but I will still have to test on OS X and Windows. Dave mind reviewing it already? Also I would appreciate if you could test on OS X given that I don't have an OS X box today. Thanks.
Attachment #736305 - Flags: review?(dave.hunt)
I did further tests on Windows and Mac and on both platforms it works fantastic. We successfully remove the update folder after our tests. On the affected Win8 machine I can't even replicate the jsbridge failure anymore. So it looks like this patch will indeed add a lot more stability to our tests.
Comment on attachment 736305 [details] [diff] [review] Patch v1 Review of attachment 736305 [details] [diff] [review]: ----------------------------------------------------------------- Looks good!
Attachment #736305 - Flags: review?(dave.hunt) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: