Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f02cec74 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

Wait for broadcast idle before runThenWaits containing resumeTiming.

Some of the runThenWaitForBroadcasts, runThenWaitUntilBootCompleted,
runThenWaitUntilSwitchCompleted methods contain mRunner.resumeTiming()
inside their runnables in order to exclude initialisation of those
methods from timing. But then since mRunner.resumeTiming() calls
wait-for-broadcast-idle, that sometimes cause helper waiters to fail
with timeouts. To prevent that flakiness, this CL makes sure the
broadcast queue is idle before calling those helper waiters.

Bug: 200217686
Test: atest MultiUserPerfTests:android.multiuser.UserLifecycleTests --no-bazel-mode
Change-Id: Iec97d314f661c9656c46873a641ef6b496dd260d
parent c4afa9e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment