See b/152840581#comment2 for the analysis. 1. call #waitForDeviceNotAvailable to wait for reboot reliably. 2. reduce watchdog timeout to 120s which works well for me and speeds up the test. Bug: 152840581 Test: atest StagedRollbackTest Merged-In: Ibbc9998c74681b1b8fc29b90ea66406f39ae7443 Change-Id: Ic791fbc00c231a5f24751b36e99515cfad13b7e7
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