Bug 1547750 - Disable cache smart-sizing in telemetry-tests-client r=raphael
authorChris H-C <chutten@mozilla.com>
Fri, 03 May 2019 17:38:05 +0000
changeset 531349 b97e4935d9b9efc7b06bd0f539042038adb9209f
parent 531348 9491a79c5266732978352b11340b6150c4021f49
child 531350 a3ddb4c1ce28569b398d3b0789aef50a11d412e5
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersraphael
bugs1547750
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1547750 - Disable cache smart-sizing in telemetry-tests-client r=raphael This sometimes introduces an environment change ping when it shouldn't, and hides that install_addon doesn't actually trigger an environment change. Depends on D29388 Differential Revision: https://phabricator.services.mozilla.com/D29389
toolkit/components/telemetry/tests/marionette/harness/telemetry_harness/runner.py
--- a/toolkit/components/telemetry/tests/marionette/harness/telemetry_harness/runner.py
+++ b/toolkit/components/telemetry/tests/marionette/harness/telemetry_harness/runner.py
@@ -24,16 +24,18 @@ class TelemetryTestRunner(BaseMarionette
 
         # Set Firefox Client Telemetry specific preferences
         prefs.update(
             {
                 # Fake the geoip lookup to always return Germany to:
                 #   * avoid net access in tests
                 #   * stabilize browser.search.region to avoid an extra subsession (bug 1545207)
                 "browser.search.geoip.url": "data:application/json,{\"country_code\": \"DE\"}",
+                # Disable smart sizing because it changes prefs at startup. (bug 1547750)
+                "browser.cache.disk.smart_size.enabled": False,
                 "toolkit.telemetry.server": "{}/pings".format(SERVER_URL),
                 "toolkit.telemetry.initDelay": 1,
                 "toolkit.telemetry.minSubsessionLength": 0,
                 "datareporting.healthreport.uploadEnabled": True,
                 "datareporting.policy.dataSubmissionEnabled": True,
                 "datareporting.policy.dataSubmissionPolicyBypassNotification": True,
                 "toolkit.telemetry.log.level": "Trace",
                 "toolkit.telemetry.log.dump": True,