See b/151890602#comment4. If the assumption is true, we will see logs that the rollback for testappA is exipred happens slightly after the call to #getAvailableRollbacks. Also move assertions below so the test runs to the end and we have a better picture for what happened during the test. Bug: 151890602 Test: m Change-Id: I85adb8c3c5598ef4ce11550b51f22d1ce3c282a6
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