Don't reboot the device when there is no file to delete. This saves us a significant amount of time since each reboot takes 1 min and there are dozens of reboot during the whole test case. Bug: 149528114 Test: atest StagedRollbackTest Change-Id: If3b06a304d9c87680c7cc5b7498d3b2ecf11cdfa
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