summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2024-01-25 11:27:49 +0000
committer Kweku Adams <kwekua@google.com> 2024-01-25 11:39:48 +0000
commitb5cff96370865d24a1eb764b49be09b3f057eb0d (patch)
tree46ec3f04c6ca29f0dc8e8cae7f9055a59a0e8e03 /libs/androidfw/FileStream.cpp
parentb0c84bce1acb79d64813ad6fe7d2697e7d470c18 (diff)
Fix test flakiness.
The default mocked value (0) was causing some code to run that would occasionally interfere with tests, making them flaky. Setting the value to the right "unknown" value disables that and prevents the test flakes. Also add a safety check and escape valve in case something was missed and things go wrong in production. Bug: 236261941 Test: atest --rerun-until-failure 25 FrameworksMockingServicesTests:FlexibilityControllerTest Change-Id: I5d14329e5ba656af77ccdbd39d28d53080c0c47d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions