Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b5cff963 authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent b0c84bce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment