Skip to content

Commit 9662bbb

Browse files
committed
Address review comments
1 parent d8f8e24 commit 9662bbb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

glean/src/core/dispatcher.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { generateUUIDv4 } from "./utils.js";
6-
75
// The possible states a dispatcher instance can be in.
86
export const enum DispatcherState {
97
// The dispatcher has not been initialized yet.
@@ -41,7 +39,6 @@ type Command = {
4139
task: Task,
4240
command: Commands.Task,
4341
} | {
44-
testId?: string,
4542
resolver: (value: void | PromiseLike<void>) => void,
4643
task: Task,
4744
command: Commands.TestTask,
@@ -324,13 +321,9 @@ class Dispatcher {
324321
* or is guaranteed to not be executed ever i.e. if the queue gets cleared.
325322
*/
326323
testLaunch(task: Task): Promise<void> {
327-
const testId = generateUUIDv4();
328-
console.info("Launching a test task.", testId);
329-
330324
return new Promise((resolver, reject) => {
331325
this.resume();
332326
const wasLaunched = this.launchInternal({
333-
testId,
334327
resolver,
335328
task,
336329
command: Commands.TestTask

0 commit comments

Comments
 (0)