-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
spring-retry with MockWebServiceServer error: 'webServiceTemplate' must not be null #11920
Comments
Are you using |
I am using something similar to the example in the documentation here Here's what I am doing:
When I inspect the
|
Thanks, but that's not enough information for us to figure out what's going on here. For example, you mentioned Mockito in the title and original description but I can't see any sign of it being used in the code above. If you'd like us to spend some more time on this, please take the time to provide a small, complete sample that reproduces the problem. |
Title updated, sorry it was copy-n-paste. I'll work on a complete example and upload here. |
Demo spring boot app to reproduce the issue |
Thanks. This isn't a Spring Boot problem. It's a problem with Spring Retry proxying
|
I'm using spring-boot 1.5.7.RELEASE and I'm having trouble when I have a mocked
WebServiceGatewaySupport
which has @retryable annotations in the subclass of that class. When I call Mockito.verify() I get an UnfinishedVerificationException exception.I find a workaround like #6828 and #5837
The text was updated successfully, but these errors were encountered: