summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorOli Lan <olilan@google.com>2019-08-22 11:24:42 +0100
committerBill Lin <lbill@google.com>2019-11-21 17:51:11 +0800
commit77a40731f8388ae1eb708dc40c08c2da9d1fd04a (patch)
tree1943ca81569fffa8b1c55a84fb281590e53708de /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdc4a36105b749138ce07a422b75ba2fe5108e040 (diff)
Wait for available rollbacks in RollbackTest.
This changes RollbackTest to retry checks for available rollbacks for a certain period of time, using a new RollbackUtils method waitForAvailableRollbacks. Currently many of the tests in RollbackTest are flaky due to race conditions between checking for available rollbacks and the installer onFinished callback. This CL should fix all of those issues. The previous attempt to resolve this by adding NewRollbacks speculatively to the results of getAvailableRollbacks was not successful. This CL reverts that change so that getAvailableRollbacks once again only returns rollbacks that are actually available. Bug: 136548146 Test: atest RollbackTest run on cuttlefish on acloud repeatedly Change-Id: I0389ef2413e7642fe2f6ef1a33aef218dd1896ed Merged-In: I27e2513b34f49af2f41cd627a5d2550541831e11
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions