Backed out changeset 2ed30cf5eeb6 (bug 1317223)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 02 Mar 2017 13:08:36 +0100
changeset 345427 f8097ba36f5ed1ca50ed58d897249866c7958c0b
parent 345426 bcd5db7ac471cad3370ab332e3425c3cbac9bf15
child 345428 0f9ae3adba67ae7847b21d8c589d95905e994257
push id87608
push usercbook@mozilla.com
push dateThu, 02 Mar 2017 12:10:02 +0000
treeherdermozilla-inbound@ae014ce1be8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1317223
milestone54.0a1
backs out2ed30cf5eeb6a86418b440f922c3f1ab8a9c9823
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
Backed out changeset 2ed30cf5eeb6 (bug 1317223)
services/sync/tests/unit/test_bookmark_repair_requestor.js
--- a/services/sync/tests/unit/test_bookmark_repair_requestor.js
+++ b/services/sync/tests/unit/test_bookmark_repair_requestor.js
@@ -105,17 +105,17 @@ add_task(async function test_requestor_n
     { object: "repair",
       method: "started",
       value: undefined,
       extra: { flowID, numIDs: 3 },
     },
     { object: "repair",
       method: "finished",
       value: undefined,
-      extra: { flowID, numIDs: 3 },
+      extra: { flowID, numIDs: 3, reason: undefined },
     }
   ]);
 });
 
 add_task(async function test_requestor_one_client_no_response() {
   let mockService = new MockService({ "client-a": makeClientRecord("client-a") });
   let requestor = NewBookmarkRepairRequestor(mockService);
   let validationInfo = {
@@ -166,17 +166,17 @@ add_task(async function test_requestor_o
     { object: "repair",
       method: "request",
       value: "upload",
       extra: { flowID, numIDs: 3, deviceID: "client-a" },
     },
     { object: "repair",
       method: "finished",
       value: undefined,
-      extra: { flowID, numIDs: 3 },
+      extra: { flowID, numIDs: 3, reason: undefined },
     }
   ]);
 });
 
 add_task(async function test_requestor_one_client_no_sync() {
   let mockService = new MockService({ "client-a": makeClientRecord("client-a") });
   let requestor = NewBookmarkRepairRequestor(mockService);
   let validationInfo = {
@@ -218,17 +218,17 @@ add_task(async function test_requestor_o
     { object: "repair",
       method: "abandon",
       value: "silent",
       extra: { flowID, deviceID: "client-a" },
     },
     { object: "repair",
       method: "finished",
       value: undefined,
-      extra: { flowID, numIDs: 3 },
+      extra: { flowID, numIDs: 3, reason: undefined },
     }
   ]);
 });
 
 add_task(async function test_requestor_latest_client_used() {
   let mockService = new MockService({
     "client-early": makeClientRecord("client-early", { serverLastModified: Date.now() - 10 }),
     "client-late": makeClientRecord("client-late", { serverLastModified: Date.now() }),
@@ -318,17 +318,17 @@ add_task(async function test_requestor_c
     { object: "repair",
       method: "response",
       value: "upload",
       extra: { flowID, deviceID: "client-b", numIDs: 3 },
     },
     { object: "repair",
       method: "finished",
       value: undefined,
-      extra: { flowID, numIDs: 0 },
+      extra: { flowID, numIDs: 0, reason: undefined },
     }
   ]);
 });
 
 add_task(async function test_requestor_success_responses() {
   let mockService = new MockService({
     "client-a": makeClientRecord("client-a"),
     "client-b": makeClientRecord("client-b"),
@@ -401,17 +401,17 @@ add_task(async function test_requestor_s
     { object: "repair",
       method: "response",
       value: "upload",
       extra: { flowID, deviceID: "client-b", numIDs: 1 },
     },
     { object: "repair",
       method: "finished",
       value: undefined,
-      extra: { flowID, numIDs: 0 },
+      extra: { flowID, numIDs: 0, reason: undefined },
     }
   ]);
 });
 
 add_task(async function test_client_suitability() {
   let mockService = new MockService({
     "client-a": makeClientRecord("client-a"),
     "client-b": makeClientRecord("client-b", { type: "mobile" }),