commit | 6c1126780d45c62b73c170523ccf539030fbdf84 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Wed Aug 02 03:23:03 2023 +0000 |
committer | Louis Chang <louischang@google.com> | Wed Aug 02 05:14:21 2023 +0000 |
tree | ea84a12188f8345f62af4cac9ec06747a7445753 | |
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