Interface for an
IRemoteTest that doesn't implement
ITestFilterReceiver but still
wishes to support auto-retry.
The recommendation for most runners is to implement
ITestFilterReceiver and give
granular control over what tests are running for the harness to handle. But in some situation, it
might not be possible and some delegated form of retry is necessary.
public boolean shouldRetry (int attemptJustExecuted,
ERROR(IRetryDecision#shouldRetry(IRemoteTest, int, List)/com.android.tradefed.retry.IRetryDecision#shouldRetry(com.android.tradefed.testtype.IRemoteTest,int,List) IRetryDecision#shouldRetry(IRemoteTest, int, List)). Decide whether or
not retry should be attempted. Also make any necessary changes to the
be retried (Applying filters, preparing next run, etc.).
int: The number of the attempt that we just ran.
: The list of
TestRunResult of the test that just ran.
|True if we should retry, False otherwise.