Bug 1404253 - Disable places' bookmarks backups in mochitests to avoid intermittent failures. r=mak, a=test-only
authorMark Banner <standard8@mozilla.com>
Mon, 29 Jan 2018 15:50:44 +0000
changeset 454616 7a901ba2676d35d2c90f8236200985e5f51ae28b
parent 454615 323cfb8ec74d7102698ace9735202e8e7bd25479
child 454617 201a4b8a3db0ec041742c58b7ac075bc597c3849
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak, test-only
bugs1404253
milestone59.0
Bug 1404253 - Disable places' bookmarks backups in mochitests to avoid intermittent failures. r=mak, a=test-only MozReview-Commit-ID: 53TipklHXxX
testing/profiles/prefs_general.js
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -389,8 +389,11 @@ user_pref("marionette.prefs.recommended"
 // Disable Screenshots by default for now
 user_pref("extensions.screenshots.disabled", true);
 
 // Set places maintenance far in the future (the maximum time possible in an
 // int32_t) to avoid it kicking in during tests. The maintenance can take a
 // relatively long time which may cause unnecessary intermittents and slow down
 // tests. This, like many things, will stop working correctly in 2038.
 user_pref("places.database.lastMaintenance", 2147483647);
+
+// Disable Bookmark backups by default.
+user_pref("browser.bookmarks.max_backups", 0);