Closed Bug 1546261 Opened 8 months ago Closed 8 months ago

Fix the telemetry tests so they work with BITS update downloads

Categories

(Toolkit :: Application Update, task, P2)

68 Branch
task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

References

Details

Attachments

(1 file)

I have a patch for bug 1540188 that gets most of the existing browser chrome update download tests working using BITS to download the update.

This bug is to add new successful download tests that include BITS downloads for the update phases telemetry. I'll do the download failure tests in a new bug since I haven't gotten those working yet with BITS.

Priority: -- → P2
Version: 59 Branch → 68 Branch
Summary: Add BITS download success telemetry tests → Fix the telemetry tests so they work with BITS update downloads

Changes BITS downloads to use the patch's errorCode to determine whether a partial staging failure should make the code download a complete update. This makes it so an apply failure will use the same logic.
Fixes a Truncating float/double number JavaScript Warning when submitting telemetry for the apply interval.
Modifies getTelemetryUpdatePhaseValues for BITS support.
Fixes all of the app update phase telemetry tests.

Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52753698c83a
Fix the app update phase telemetry tests so they work with BITS update downloads. r=bytesized
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.