From c745f15b212d03525d8d30cf5960c4425ea62454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Tue, 3 Aug 2010 00:45:28 -0700 Subject: [PATCH] Bug 583985 - Disable leaky sync tests --- services/sync/tests/unit/test_bookmark_order.js | 3 +++ services/sync/tests/unit/test_bookmark_predecessor.js | 3 +++ services/sync/tests/unit/test_engines_forms_store.js | 3 +++ services/sync/tests/unit/test_utils_queryAsync.js | 3 +++ 4 files changed, 12 insertions(+) diff --git a/services/sync/tests/unit/test_bookmark_order.js b/services/sync/tests/unit/test_bookmark_order.js index dba583eea0cd..ecb2f44a753f 100644 --- a/services/sync/tests/unit/test_bookmark_order.js +++ b/services/sync/tests/unit/test_bookmark_order.js @@ -39,6 +39,9 @@ function check(expected) { } function run_test() { + //XXXzpao test is disabled (bug 583985) + return; + _("Starting with a clean slate of no bookmarks"); let store = new (new BookmarksEngine())._storeObj(); store.wipe(); diff --git a/services/sync/tests/unit/test_bookmark_predecessor.js b/services/sync/tests/unit/test_bookmark_predecessor.js index 6007d53b76a6..a54ac15792f2 100644 --- a/services/sync/tests/unit/test_bookmark_predecessor.js +++ b/services/sync/tests/unit/test_bookmark_predecessor.js @@ -3,6 +3,9 @@ Cu.import("resource://services-sync/engines/bookmarks.js"); Cu.import("resource://services-sync/util.js"); function run_test() { + //XXXzpao test is disabled (bug 583985) + return; + _("Starting with a clean slate of no bookmarks"); let store = new (new BookmarksEngine())._storeObj(); store.wipe(); diff --git a/services/sync/tests/unit/test_engines_forms_store.js b/services/sync/tests/unit/test_engines_forms_store.js index 9caa4c68c2b6..59f794c771ba 100644 --- a/services/sync/tests/unit/test_engines_forms_store.js +++ b/services/sync/tests/unit/test_engines_forms_store.js @@ -3,6 +3,9 @@ Cu.import("resource://services-sync/engines/forms.js"); Cu.import("resource://services-sync/type_records/forms.js"); function run_test() { + //XXXzpao test is disabled (bug 583985) + return; + let store = new FormEngine()._store; _("Remove any existing entries"); diff --git a/services/sync/tests/unit/test_utils_queryAsync.js b/services/sync/tests/unit/test_utils_queryAsync.js index 52d0c8597522..766807f92e59 100644 --- a/services/sync/tests/unit/test_utils_queryAsync.js +++ b/services/sync/tests/unit/test_utils_queryAsync.js @@ -2,6 +2,9 @@ _("Make sure queryAsync will synchronously fetch rows for a query asyncly"); Cu.import("resource://services-sync/util.js"); function run_test() { + //XXXzpao test is disabled (bug 583985) + return; + _("Using the form service to test queries"); function c(query) Svc.Form.DBConnection.createStatement(query);