commit | b36216ba0d60339bc9875df2481cda542a0c82e8 | [log] [tgz] |
---|---|---|
author | Yasin Kilicdere <tyk@google.com> | Wed Aug 24 17:29:42 2022 +0100 |
committer | Yasin Kilicdere <tyk@google.com> | Wed Aug 24 17:29:42 2022 +0100 |
tree | 6477cd13525ccf47a888fc64806b1b025aa4d5b9 | |
parent | cb2ec7b31dfb53ac70f189eb2db2aeef4c00e42f [diff] |
wait-for-broadcast-idle before stopUser in UserLifecycleTests. Stopping a user heavily depends on broadcast queue, and that gets crowded after user creation and switches. Which leads to a timeout on stopping user. This CL makes sure broadcast queue is idle before stopping a user, to prevent the timeout. Bug: 200217686 Test: atest MultiUserPerfTests:android.multiuser.UserLifecycleTests --no-bazel-mode Change-Id: I540a73d436eb28600e689c27e27ec6259d37e8b7