Bug 1382444 - Stop places maintenance running during tests to avoid unnecessary overhead and intermittent issues. r?mak
MozReview-Commit-ID: D5qN7jY7pNd
--- 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);