Class RetryableAssertion


  • public final class RetryableAssertion
    extends Object
    Utility to repeatedly invoke 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 logic
        params - Retry related parameters
        Throws:
        Exception