Bug 1536877 - Correct telemetry constant for 67 r=chutten a=pascalc l10n=flod
authorJared Hirsch <ohai@6a68.net>
Wed, 24 Apr 2019 16:11:57 +0300
changeset 523330 a08cdd143e57dbd4bc062851b790ef53d82196ed
parent 523329 521037994bf751d45f8acd5f2f32982a85e80947
child 523331 4b5a567ae62d4a2b1d18e7adf37802dc1052d9f6
push id11147
push usernerli@mozilla.com
push dateWed, 24 Apr 2019 13:33:15 +0000
treeherdermozilla-beta@a08cdd143e57 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten, pascalc
bugs1536877
milestone67.0
Bug 1536877 - Correct telemetry constant for 67 r=chutten a=pascalc l10n=flod MozReview-Commit-ID: JKAvUtFXsIb
toolkit/components/extensions/test/xpcshell/test_ext_telemetry.js
--- a/toolkit/components/extensions/test/xpcshell/test_ext_telemetry.js
+++ b/toolkit/components/extensions/test/xpcshell/test_ext_telemetry.js
@@ -204,17 +204,17 @@ if (AppConstants.MOZ_BUILD_APP === "brow
           browser.test.fail(`Unexpected exception raised during record_event_value_must_be_string: ${ex}`);
           browser.test.notifyPass("record_event_string_value");
           throw ex;
         }
       },
       doneSignal: "record_event_string_value",
     });
 
-    let events = Services.telemetry.snapshotEvents(Ci.nsITelemetry.DATASET_PRERELEASE_CHANNELS, true);
+    let events = Services.telemetry.snapshotEvents(Ci.nsITelemetry.DATASET_RELEASE_CHANNEL_OPTIN, true);
     equal(events.parent.length, 1);
     equal(events.parent[0][1], "telemetry.test");
     equal(events.parent[0][3], "object1");
     equal(events.parent[0][4], "value1");
 
     Services.telemetry.setEventRecordingEnabled("telemetry.test", false);
     Services.telemetry.clearEvents();
   });