Bug 1382444 - Stop places maintenance running during tests to avoid unnecessary overhead and intermittent issues. r=mak
authorMark Banner <standard8@mozilla.com>
Thu, 20 Jul 2017 11:06:02 +0100
changeset 418586 1cfc47df313b42658f824e4e705b910e3f53bfc2
parent 418585 d822df13c8402e3878c6b7b861c326f6f57306ee
child 418587 1248f5c75f47c583eec62a7e6768996c72a59477
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs1382444
milestone56.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 1382444 - Stop places maintenance running during tests to avoid unnecessary overhead and intermittent issues. r=mak MozReview-Commit-ID: D5qN7jY7pNd
testing/profiles/prefs_general.js
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -375,8 +375,13 @@ user_pref("extensions.formautofill.exper
 
 // Disable all recommended Marionette preferences for Gecko tests.
 // The prefs recommended by Marionette are typically geared towards
 // consumer automation; not vendor testing.
 user_pref("marionette.prefs.recommended", false);
 
 // Disable Screenshots by default for now
 user_pref("extensions.screenshots.system-disabled", true);
+
+// Set places maintenance far in the future to avoid it kicking in during tests.
+// The maintenance can take a relatively long time which may cause unnecessary
+// intermittents and slow down tests.
+user_pref("places.database.lastMaintenance", 7258114800);