Bug 1547750 Disable cache smart sizing for telemetry-tests-client r=raphael
☠☠ backed out by 574edb245bd0 ☠ ☠
authorChris H-C <chutten@mozilla.com>
Mon, 29 Apr 2019 18:51:21 +0000
changeset 530608 9b16812e723e3dff41c118cd9bcd1f7535452f36
parent 530607 d7f798e98a7577980d1ab8985f1886cbd09fbcaa
child 530609 979eea4eabff8099015c4df4d4df4e66b75f262d
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 for telemetry-tests-client r=raphael This is because the smart sizer changes a monitored userPref close to startup, which induces an extra "main" ping (causing tests to fail). Differential Revision: https://phabricator.services.mozilla.com/D29223
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,