Class RetryableAssertion
- java.lang.Object
-
- software.amazon.awssdk.testutils.retry.RetryableAssertion
-
public final class RetryableAssertion extends Object
Utility to repeatedly invoke assertion logic until it succeeds or the max allowed attempts is reached.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddoRetryableAssert(AssertCallable callable, RetryableParams params)Static method to repeatedly call assertion logic until it succeeds or the max allowed attempts is reached.
-
-
-
Method Detail
-
doRetryableAssert
public static void doRetryableAssert(AssertCallable callable, RetryableParams params) throws Exception
Static method to repeatedly call assertion logic until it succeeds or the max allowed attempts is reached.- Parameters:
callable- Callable implementing assertion logicparams- Retry related parameters- Throws:
Exception
-
-