diff options
| author | 2023-08-02 03:23:03 +0000 | |
|---|---|---|
| committer | 2023-08-02 05:14:21 +0000 | |
| commit | 6c1126780d45c62b73c170523ccf539030fbdf84 (patch) | |
| tree | ea84a12188f8345f62af4cac9ec06747a7445753 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | f87cf9e8876ca2fc19ddf65f3b14f2803d219163 (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
Test: run the test over 200 times
Change-Id: I04dfa87c762fd9ee7dfcb9d5dd5982780f43356c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions