Bug 1319037 - Disable trace logging and increase timeout factor for test_bookmark_tracker.js. a=testonly
authorKit Cambridge <kit@yakshaving.ninja>
Tue, 29 Nov 2016 13:21:56 -0700
changeset 324949 22f11c60991cdd765baf5767c5066dfcc9990186
parent 324948 a5a5b7e56cba2f5e641943c2c9a6a6239c807be5
child 324950 5b70ccd12b426848e5cb65213d19d078278ec8ba
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewerstestonly
bugs1319037
milestone53.0a1
Bug 1319037 - Disable trace logging and increase timeout factor for test_bookmark_tracker.js. a=testonly 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
@@ -1800,19 +1800,8 @@ add_task(async function test_migrate_exi
 
   let filePath = OS.Path.join(OS.Constants.Path.profileDir, "weave", "changes",
     "bookmarks.json");
   ok(!(await OS.File.exists(filePath)),
     "Tracker file should be deleted after existing tracker migration");
 
   await 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]