Closed Bug 1540068 Opened 6 years ago Closed 6 years ago

Consider waiting on all ping writes in `triggerWorkManager`

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Dexter, Unassigned)

Details

(Whiteboard: [telemetry:mobilesdk:m9])

A class of glean test intermittent failures (aka interkittens) we uncovered can be pinned on not waiting on pings to be serialized to disk before manually triggering the upload worker in test mode.

This could probably be less error prone if we called Glean.pingStorageEngine.testWait() within triggerWorkManager(): however, this might have an impact on the speed of the test execution and possibly cause other failures.

Priority: -- → P3
Whiteboard: [telemetry:mobilesdk:m?]
Whiteboard: [telemetry:mobilesdk:m?] → [telemetry:mobilesdk:m9]
Component: Telemetry → Glean: SDK
Product: Toolkit → Data Platform and Tools
Version: Trunk → unspecified

This may or may not have been affected by the change to use the androidx TestDriver to trigger WorkManager rather than our workaround. See also bug

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.