public class RetryableAssertion extends Object
Constructor and Description |
---|
RetryableAssertion() |
Modifier and Type | Method and Description |
---|---|
static void |
doRetryableAssert(AssertCallable callable,
RetryableParams params)
Static method to repeatedly call assertion logic until it succeeds or the max allowed
attempts is reached.
|
public static void doRetryableAssert(AssertCallable callable, RetryableParams params) throws Exception
callable
- Callable implementing assertion logicparams
- Retry related parametersException
Copyright © 2024. All rights reserved.