Bug 1319037 - Disable trace logging and increase timeout factor for test_bookmark_tracker.js. a=test-only
authorKit Cambridge <kit@yakshaving.ninja>
Tue, 29 Nov 2016 13:21:56 -0700
changeset 352809 35b331da8f1520eb289ff12684fc0ef38aaaaded
parent 352808 0402dc72ef21459b2ec67e26ce11e22aa388f944
child 352810 618770ed4835a5ee8852afc1406754ea6391b2d4
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1319037
milestone52.0a2
Bug 1319037 - Disable trace logging and increase timeout factor for test_bookmark_tracker.js. a=test-only MozReview-Commit-ID: EmSdy92cYzc
services/sync/tests/unit/test_bookmark_tracker.js
services/sync/tests/unit/xpcshell.ini
--- a/services/sync/tests/unit/test_bookmark_tracker.js
+++ b/services/sync/tests/unit/test_bookmark_tracker.js
@@ -1530,19 +1530,8 @@ add_task(function* test_mobile_query() {
     _("We shouldn't track the query or the left pane root");
     yield verifyTrackedCount(0);
     do_check_eq(tracker.score, 0);
   } finally {
     _("Clean up.");
     yield cleanup();
   }
 });
-
-function run_test() {
-  initTestLogging("Trace");
-
-  Log.repository.getLogger("Sync.Engine.Bookmarks").level = Log.Level.Trace;
-  Log.repository.getLogger("Sync.Store.Bookmarks").level = Log.Level.Trace;
-  Log.repository.getLogger("Sync.Tracker.Bookmarks").level = Log.Level.Trace;
-
-  run_next_test();
-}
-
--- a/services/sync/tests/unit/xpcshell.ini
+++ b/services/sync/tests/unit/xpcshell.ini
@@ -154,16 +154,17 @@ tags = addons
 [test_bookmark_order.js]
 [test_bookmark_places_query_rewriting.js]
 [test_bookmark_record.js]
 [test_bookmark_smart_bookmarks.js]
 [test_bookmark_store.js]
 # Too many intermittent "ASSERTION: thread pool wasn't shutdown: '!mPool'" (bug 804479)
 skip-if = debug
 [test_bookmark_tracker.js]
+requesttimeoutfactor = 4
 [test_bookmark_validator.js]
 [test_clients_engine.js]
 [test_clients_escape.js]
 [test_extension_storage_crypto.js]
 [test_extension_storage_engine.js]
 [test_extension_storage_tracker.js]
 [test_forms_store.js]
 [test_forms_tracker.js]