Files
frameworks_base/tests/RollbackTest
JW Wang 0177e204bc Fix a flaky test (5/n)
Sometimes the rollback doesn't become available right
after install is completed. We need to retry and wait.

Bug: 195517333
Test: atest StagedRollbackTest#testRollbackRebootlessApex \
      --rerun-until-failure 99
Change-Id: I7944d67529328839e9a59337ed7e60abd43d35d4
2021-10-28 19:21:47 +08:00
..
2021-10-28 19:21:47 +08:00

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