Bug 1382444 - Stop places maintenance running during tests to avoid unnecessary overhead and intermittent issues. r?mak draft
authorMark Banner <standard8@mozilla.com>
Thu, 20 Jul 2017 11:06:02 +0100
changeset 612166 8017eb2bc9e4400c0773e005cfa8366706a648ed
parent 611714 eb1d92b2b6a4161492561250f51bae5bafeda68a
child 638335 74606b1b7caa4a1338a9a100f44dd5c29bc0ae73
push id69412
push userbmo:standard8@mozilla.com
push dateThu, 20 Jul 2017 12:54:14 +0000
reviewersmak
bugs1382444
milestone56.0a1
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);