Skip to content

ExponentialRetry Method Does Not Retry on Exceptions #47861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
v-wuzhai opened this issue Mar 25, 2025 · 0 comments
Open

ExponentialRetry Method Does Not Retry on Exceptions #47861

v-wuzhai opened this issue Mar 25, 2025 · 0 comments

Comments

@v-wuzhai
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants