Skip to content

ExponentialRetry Method Does Not Retry on Exceptions #47861

Open
@v-wuzhai

Description

@v-wuzhai

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions