The test is flaky because it is testing a race condition. The flakiness is fixed with the help of some new @TestApi in I01f3e769711ffa51fa714ff4bc81e70887f427ad. Disable the test on those branches without the fix merged. Bug: 134373106 Bug: 136605788 Test: atest RollbackTest Change-Id: I05edfc142c14631b259ae7aaf2dd31af00363a35 Merged-In: I01f3e769711ffa51fa714ff4bc81e70887f427ad
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