summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJW Wang <wangchun@google.com>2020-03-04 17:28:05 +0800
committerJW Wang <wangchun@google.com>2020-03-09 10:01:23 +0800
commit45bf445ed4ebb8d2491cdef0046ea7d548cc7799 (patch)
tree196d24c977d9254a3e8d30531a23c283c11165fe /tools/aapt2/java/JavaClassGenerator_test.cpp
parent71b352b211ca3cefba511094ae0480a92b8216be (diff)
Rewrite testBadApkOnly (1/n)
When tradefed fails to run a test, it will try to recover the device which might lead to another reboot. This interferes with our test flow which also involves reboot. See b/150749023#comment2 for more details. Let's rewrite the test to prevent auto-recovery of tradefed from kicking in. Generally, it is a bad practice to depend our test flow on a failed test due to reboot. We should call #waitForDeviceNotAvailable to wait for reboot to happen and then call #waitForDeviceAvailable before continuing next tests. Bug: 150749023 Test: atest StagedRollbackTest#testBadApkOnly Change-Id: Ia39630585c3b7344174a8c66d0a33f05a2d80cc7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions