public class RetryOnFailureStrategy extends AbstractRetryStrategy
hasNextAttempt, totalTimes
Constructor and Description |
---|
RetryOnFailureStrategy(int retryTimes) |
Modifier and Type | Method and Description |
---|---|
void |
handleException(String testName,
int attemptIndex,
Throwable throwable)
Handle the exception after the test execution.
|
hasNextAttempt, stopFollowingAttempts
public void handleException(String testName, int attemptIndex, Throwable throwable) throws Throwable
RetryStrategy
testName
- the test nameattemptIndex
- test attempt index that starts from 1throwable
- the throwable that the test case throwsThrowable
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.