Sometimes logcat messages are missing and causing rollback tests to fail which check logcat messages to confirm some particular rollback events have happened. Let's use system properties as a reliable way to log rollback events. Bug: 171853854 Test: atest StagedRollbackTest NetworkStagedRollbackTest Change-Id: Ia74da915811978008eed501049f5f44029e5c81a
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 fake apks used in testing. TestApex - source for fake apex modules used in testing. Running the tests ================= You can manually run the tests as follows: atest RollbackTest atest StagedRollbackTest