Bug 1325523 - Don't persist IDs in Sync tests. r=markh a=testonly
authorKit Cambridge <kit@yakshaving.ninja>
Tue, 07 Feb 2017 11:51:06 -0800
changeset 376025 0a095d70f2b130a6550fab143163d40eecb79f0f
parent 376024 522951ff7046fd2bdf3916c973fbfde27be0af31
child 376026 19f6f5f9bd239f14a7d191d8bfbcafa35a344b41
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh, testonly
bugs1325523
milestone53.0a2
Bug 1325523 - Don't persist IDs in Sync tests. r=markh a=testonly MozReview-Commit-ID: CpQP2aM1DO
services/sync/tests/unit/test_engine.js
services/sync/tests/unit/test_telemetry.js
--- a/services/sync/tests/unit/test_engine.js
+++ b/services/sync/tests/unit/test_engine.js
@@ -18,17 +18,18 @@ SteamStore.prototype = {
     this.wasWiped = true;
   }
 };
 
 function SteamTracker(name, engine) {
   Tracker.call(this, name || "Steam", engine);
 }
 SteamTracker.prototype = {
-  __proto__: Tracker.prototype
+  __proto__: Tracker.prototype,
+  persistChangedIDs: false,
 };
 
 function SteamEngine(name, service) {
   Engine.call(this, name, service);
   this.wasReset = false;
   this.wasSynced = false;
 }
 SteamEngine.prototype = {
--- a/services/sync/tests/unit/test_telemetry.js
+++ b/services/sync/tests/unit/test_telemetry.js
@@ -28,17 +28,18 @@ SteamStore.prototype = {
   __proto__: Store.prototype,
 };
 
 function SteamTracker(name, engine) {
   Tracker.call(this, name || "Steam", engine);
 }
 
 SteamTracker.prototype = {
-  __proto__: Tracker.prototype
+  __proto__: Tracker.prototype,
+  persistChangedIDs: false,
 };
 
 function SteamEngine(service) {
   Engine.call(this, "steam", service);
 }
 
 SteamEngine.prototype = {
   __proto__: Engine.prototype,