Add a "test mode" to the RLB Dispatcher
Categories
(Data Platform and Tools :: Glean: SDK, task, P3)
Tracking
(Not tracked)
People
(Reporter: Dexter, Unassigned)
References
Details
(Whiteboard: [telemetry:fog:m6])
In the current implementation, we go through some hoops to write unit tests using the dispatcher and the Glean singleton.
We need some sort of "test mode" like we have for the other language bindings. We either need to run tasks synchronously or have some way to reset the state.
Comment 1•5 years ago
|
||
So far we've been doing without synchronous mode in an effort to not overuse it. We have exposed a blocking function to wait for the operations to clear which may serve the same purpose?
| Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Chris H-C :chutten from comment #1)
So far we've been doing without synchronous mode in an effort to not overuse it. We have exposed a blocking function to wait for the operations to clear which may serve the same purpose?
This has a set of problems / bugs we uncovered today with Jan-Erik so, at the very least, this has to change a bit. Jan-Erik is going to tackle this and expand as needed :-D
| Reporter | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Looks to me as thogh test_reset_glean and friends might take care of this for the RLB. Alessio, do they serve the purposes you had in mind?
| Reporter | ||
Comment 4•5 years ago
|
||
Yes!
Description
•