Skip to content
Commit bae070bf authored by Junyu Lai's avatar Junyu Lai
Browse files

Migrate NetworkStatsServiceTest from when().thenReturn() to doReturn().when()

This will address flakiness issues arising from the use of
when() in multithread context.

Fix: 243658074
Test: atest com.android.server.net.NetworkStatsServiceTest#testDataMigration_differentFromFallback \
      --rerun-until-failure 1000
Change-Id: I047050ef14cb60658098ff7803c6773907a92919
parent d407328d
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