diff options
| author | 2023-08-02 03:23:03 +0000 | |
|---|---|---|
| committer | 2023-08-17 04:26:23 +0000 | |
| commit | 947d06eeb9010bd43179e77e9e5de03278be331c (patch) | |
| tree | dacb12c8e53b8d37fd5acc71a278e1d2ae3264f7 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | bdaad74dd068e3a1acf305e1898ae0c040d01c11 (diff) | |
Fix AssistDataRequesterTest Flakiness
There's a race condition between setting `mRequestCompleted = true`
and asserts its value as true in #assertReceivedDataCount.
Fix the flakiness by updating `mRequestCompleted` whenever getting
the callback (without handling it asynchronously).
Bug: 280107567
Bug: 296229082
Test: run the test over 200 times
Change-Id: I04dfa87c762fd9ee7dfcb9d5dd5982780f43356c
Merged-In: I04dfa87c762fd9ee7dfcb9d5dd5982780f43356c
(cherry picked from commit 6c1126780d45c62b73c170523ccf539030fbdf84)
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions