diff options
author | JW Wang <wangchun@google.com> | 2019-09-24 11:18:58 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2019-09-24 11:32:43 +0800 |
commit | b94686bce5e3f3bee6ad9f4273aeea3ca55217c5 (patch) | |
tree | 551b7900d784e290d6f1e348b4c1baf17a115510 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | aeb356ca8494d6b6f2b0401991721c00f8c7e34d (diff) |
Fix testExplicitHealthCheckFailureBeforeExpiry
The code doesn't work as intended. What we should do is:
1. set up so that health check duration is shorter than observation duration
2. move time forward so we fail the health check
3. check observer.mMitigatedPackages contains only APP_A
4. move time forward again to expire the observation duration
5. check APP_A is not notified again as a failed package
Also add a similar test where the observation duration is shorter than
the health check duration.
Bug: 141518951
Test: atest PackageWatchdogTest
Change-Id: Iba1cdc4fab8608982b416cdb463ed4b38d355c9f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions