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

Skip to content
Commit ee54b57b authored by Mike Yu's avatar Mike Yu Committed by Android Build Coastguard Worker
Browse files

Test: Make doh_unit_test boot_time::timeout_drift less flaky

On cuttlefish, `drift` is sometimes greater than 5ms. This is
probably due to cuttlefish being slow sometimes.

Run the test 200 times on cuttlefish with this change, the
distribution of these 2000 `drift`s is:
  7 out of 2000 over 5ms
  3 out of 2000 over 7ms
  1 out of 2000 over 9ms
  0 out of 2000 over 10ms.

The flaky rate of the test will be less than 0.5% theoretically

Bug: 261906096
Test: run boot_time::timeout_drift 200 times
Change-Id: Ia1c124f58b388357d4b0f96d5c06bce8ab739355
(cherry picked from commit 5cb91d76)
Merged-In: Ia1c124f58b388357d4b0f96d5c06bce8ab739355
(cherry picked from commit 469e8f41)
Merged-In: Ia1c124f58b388357d4b0f96d5c06bce8ab739355
parent 97f46e35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment