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

Skip to content
Commit b54ad4c2 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

De-flake CpuPowerStatsCollectorTest#isolatedUidReuse

The root cause of the flakiness is the implementation of
PowerStatsCollector.forceSchedule(), which posts the next
collection event at the front of the event queue, which
messes with the order of events as expected by the test.

Bug: 337087734
Test: atest --rerun-until-failure 500 PowerStatsTests:CpuPowerStatsCollectorTest#isolatedUidReuse
Flag: com.android.server.power.optimization.streamlined_battery_stats
Change-Id: I02b0a7d9a8d8e4ab09c13fe143a484bf42f1b344
parent 79db3ce4
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