Skip to content
Commit 94b0adcf authored by JW Wang's avatar JW Wang
Browse files

Rewrite testBadApkOnly_Phase3 (1/n)

1. Wait for 120s for reboot to happen. This improve the stablity of
   virtual devices which sometimes could be slow in shutdown.
2. Use assertThrows to catch exception when reboot doesn't happen which
   gives us better error messages than expecting next phase to fail.

Bug: 143999213
Test: atest StagedRollbackTest#testBadApkOnly
Change-Id: Ibafcbe7e003fb92991d6f8fe2fde7b344ffd6db6
parent 46214265
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment