diff options
author | Kweku Adams <kwekua@google.com> | 2020-10-26 11:48:11 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-10-28 09:47:00 -0700 |
commit | 78b11e70385a5debd11906d93691b7a928083196 (patch) | |
tree | b3555c862642abb32c0cb8f22033249c3885c4b4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | aea66d60e7cc45f29ad1d07d4f0d942b069bf191 (diff) |
Fix test flakiness.
The test tests a part of the asynchronous code but didn't lock around
critical calls itself, which led to race conditions and resulting test
flakes.
Bug: 171095356
Test: atest --rerun-until-failure 50 com.android.server.job.controllers.QuotaControllerTest#testTimerTracking_ForegroundAndBackground
Test: atest --rerun-until-failure 50 com.android.server.job.controllers.QuotaControllerTest#testTimerTracking_TopAndNonTop
Test: atest --rerun-until-failure 5 com.android.server.job.controllers.QuotaControllerTest
Change-Id: I66f0a04ca2ee1382d9cf44756449360043f3b303
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions