summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorshafik <shafik@google.com>2019-02-26 09:33:26 +0000
committershafik <shafik@google.com>2019-02-26 16:04:31 +0000
commit6d61f5e50539c4c0e55af37b52bbcbe60d565d51 (patch)
tree71d1771f5140d3c4eb44f93853dcd153a03a69db /rs/java/android/renderscript/Program.java
parent0eedd5978ed919421839f7ad2bccf6f75ebe26fd (diff)
Test Rollback Expiration lifetime
Add a test that checks whether the rollback data is expired after the lifetime duration expires. Since the default expiration time is 48 hours, the test first changes the expiration time to a more reasonable (and testable) amount. Flow: * Change rollback lifetime duration to 30s * Install v1 of an app * Install v2 of an app (with rollback enabled) * Check that package rollback is available * Wait for the lifetime duration * Check that package is not available for rollback Test: atest RollbackTest Test: atest RollbackTest#testRollbackExpiresAfterLifetime Bug: 124096729 Change-Id: I4c6b3df14ed7b98b72d3c8a49a0dd5b2e864e2b2
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions