When multiple staged sessions are installed on a device which doesn't support checkpoint, only the 1st will prevail. The test failed when TestApp.A is not the 1st rollback to commit. We need to clean up the rollback left by testRollbackWhitelistedApp so TestApp.A is always the only and first one to commit. Bug: 146991129 Test: atest StagedRollbackTest Change-Id: I4afdace934b7b7e3b198169dc2eb0da66c65eb94
This directory contains a test for the rollback manager service. Directory structure =================== RollbackTest - device driven test for rollbacks not involving staged rollbacks. StagedRollbackTest - device driven test for staged rollbacks. TestApp - source for dummy apks used in testing. TestApex - source for dummy apex modules used in testing. Running the tests ================= You can manually run the tests as follows: atest RollbackTest atest StagedRollbackTest