Skip to content
Commit 6d61f5e5 authored by shafik's avatar shafik
Browse files

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
parent 0eedd597
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