Closed
Bug 1787512
Opened 3 years ago
Closed 2 years ago
Update Glean.js to use single method for triggering restart events
Categories
(Data Platform and Tools :: Glean: SDK, task, P4)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: brosa, Unassigned)
Details
In the test suite for Glean.js, there are multiple ways that we trigger the glean.restarted event. We want to update all the places where these events are triggered and use a single function for this. The instances where we are generating errors result from setting the timestamp to before the current moment - this is possible within the testRestartGlean function you just need to pass a negative value.
We can also refactor this function to fit whatever needs we have for triggering restarts, but ideally we want a single way to do this.
Updated•3 years ago
|
Priority: -- → P4
| Reporter | ||
Comment 1•2 years ago
|
||
This doesn't need to happen. The way that we generate these events right now are only in tests and work fine.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•