Skip to content
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

Fix asynchronous @BeforeRetry #1071

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Oct 30, 2024

The async implementation of retry had a bug in that it attempted to call the before retry action even before the initial attempt. This is wrong, plus it leads to an exception in the constructor of FailureContext. This commit fixes that bug and adds missing tests.

The async implementation of retry had a bug in that it attempted to call
the before retry action even before the initial attempt. This is wrong,
plus it leads to an exception in the constructor of `FailureContext`.
This commit fixes that bug and adds missing tests.
@Ladicek Ladicek added this to the 6.6.2 milestone Oct 30, 2024
@Ladicek Ladicek merged commit 9e57a27 into smallrye:main Oct 30, 2024
13 checks passed
@Ladicek Ladicek deleted the fix-async-before-retry branch October 30, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant