Bug 911478 - Intermittent sync\tests\unit\test_addons_engine.js | test failed. r=gps
authorRichard Newman <rnewman@mozilla.com>
Wed, 25 Sep 2013 17:09:10 -0700
changeset 149653 199deec966d3
parent 149652 f4c7f26b1bf0
child 149654 b5014120f28b
push id25398
push userrnewman@mozilla.com
push date2013-10-02 21:34 +0000
treeherdermozilla-central@0aec0edde70b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs911478
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 911478 - Intermittent sync\tests\unit\test_addons_engine.js | test failed. r=gps
services/sync/tests/unit/test_addons_engine.js
--- a/services/sync/tests/unit/test_addons_engine.js
+++ b/services/sync/tests/unit/test_addons_engine.js
@@ -106,17 +106,18 @@ add_test(function test_get_changed_ids()
   _("Ensure reconciler changes are populated.");
   Svc.Prefs.set("addons.ignoreRepositoryChecking", true);
   let addon = installAddon("test_bootstrap1_1");
   tracker.clearChangedIDs(); // Just in case.
   changes = engine.getChangedIDs();
   do_check_eq("object", typeof(changes));
   do_check_eq(1, Object.keys(changes).length);
   do_check_true(addon.syncGUID in changes);
-  do_check_true(changes[addon.syncGUID] > changeTime);
+  _("Change time: " + changeTime + ", addon change: " + changes[addon.syncGUID]);
+  do_check_true(changes[addon.syncGUID] >= changeTime);
 
   let oldTime = changes[addon.syncGUID];
   let guid2 = addon.syncGUID;
   uninstallAddon(addon);
   changes = engine.getChangedIDs();
   do_check_eq(1, Object.keys(changes).length);
   do_check_true(guid2 in changes);
   do_check_true(changes[guid2] > oldTime);