You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Curious on how I can test the retry annotation, it seems like the fallback is never getting called and retry isn't being invoked when a failure is hit.
I'm bubbling up exceptions in a catch all and it works when I run the code, just not the test:
Relevant:
https://stackoverflow.com/questions/68400270/unable-to-get-resilience4j-retry-annotation-to-execute-in-springboot-unit-test
Curious on how I can test the retry annotation, it seems like the fallback is never getting called and retry isn't being invoked when a failure is hit.
I'm bubbling up exceptions in a catch all and it works when I run the code, just not the test:
When I debug the test, it hits the code and exception that the @Retry annotation is on, but it just fails with an exception instead of retrying.
I'm using SpringBootTest annotation to get everything autowired. More code provided in the above link.
The text was updated successfully, but these errors were encountered: