diff options
author | Evan Laird <evanlaird@google.com> | 2020-06-24 23:40:30 -0400 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2020-06-25 04:29:53 +0000 |
commit | 131d38bdea87bbfd0dc44665db863924ab1af9c1 (patch) | |
tree | 551d85f0369152989ad33789ee27cb646de44ae4 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 1f7c4db51364a3f1185937eb3cb8a99ecb03240e (diff) |
Sleep in between calls to NoMan service in test
NotificationManagerService has a non-mockable relationship to
System.currentTimeMillis and this test assumes that calls into the
service will not happen in the same millisecond. The fix here is to
sleep for 1ms in between calls to ensure that the clock advances.
Test: atest --rerun-until-failure 100 NotificationManagerServiceTest
Bug: 155331470
Change-Id: Ica6b26a3d72295b0be52c6b1579dde30447ddeaf
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions