Open
Description
Describe the bug
The current behavior is that the ExponentialRetry.ExecuteWithRetryOnFailure method does not retry the specified number of times when an exception occurs. This behavior can lead to unexpected results and management confusion.
Current Behavior:When an exception is thrown within the action, the method does not retry the specified number of times. This causes the test ItRetriesOnError to fail because the test expects the method to retry the action twice before failing.
Expected Behavior
The method should retry the specified number of times when an exception occurs, or provide a clear error message indicating the failure to retry.