Bug 1554326 - Always set toolkit.telemetry.eventping.enabled during xpcshell tests; r=snorp

My previous attempt updated the wrong test profile, which does not apply to xpcshell tests.
This applies the pref override to xpcshell tests only, the only place we need it.

Differential Revision: https://phabricator.services.mozilla.com/D42865

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Geoff Brown 2019-08-21 18:24:47 +00:00
parent b7e778a5ea
commit a473bf7d94
2 changed files with 3 additions and 3 deletions

View File

@ -217,9 +217,6 @@ user_pref("test.mousescroll", true);
// Don't send 'bhr' ping during tests, otherwise the testing framework might
// wait on the pingsender to finish and slow down tests.
user_pref("toolkit.telemetry.bhrPing.enabled", false);
// Enable telemetry event ping during tests, even for geckoview, where it
// is normally disabled.
user_pref("toolkit.telemetry.eventping.enabled", true);
// Don't send the 'first-shutdown' during tests, otherwise tests expecting
// main and subsession pings will fail.
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);

View File

@ -23,3 +23,6 @@ user_pref("dom.ipc.processPriorityManager.enabled", false);
// Avoid idle-daily notifications, to avoid expensive operations that may
// cause unexpected test timeouts.
user_pref("idle.lastDailyNotification", -1);
// Enable telemetry event ping during tests, even for geckoview, where it
// is normally disabled.
user_pref("toolkit.telemetry.eventping.enabled", true);