commit | 91c5bca8d2690d8ad2c98db90a3cfe1db78333ce | [log] [tgz] |
---|---|---|
author | TYM Tsai <tymtsai@google.com> | Mon Dec 09 14:57:15 2019 +0800 |
committer | TYM Tsai <tymtsai@google.com> | Mon Dec 09 20:44:47 2019 +0800 |
tree | 1264cce417546b86e765fa41893d9e124fdd910b | |
parent | 9b3081fcfc8a81c9ed3460abbaa15adc27650314 [diff] |
Fixes flaky on CtsAutoFillServiceTestCases The RetryRule will retry tests when the tests fail due to a RetryableException. But it does not clean all launched activities which causes the retries are blocked on the exception: "Could not launch intent Intent { ... } within 45 seconds." To avoid the same issue, adds a RetryCleaner interface to clean between the retries. Bug: 145244166 Test: atest CtsAutoFillServiceTestCases Change-Id: I583f0421862b796d3ba7920e4851cd59b790c53c