Limit thread synchronization in AbstractRequestExpectationManager [SPR-16319] #20866
I am using the MockRestServiceServer to simulate calls to some external system.
Therefore, I'd like to add a delay before the response is returned to the RestTemplate.
This can easily done this way:
Unfortunately, the way
I am wondering if we can exclude the call to
The current behavior of expectation validation will remain as is, but the response generation will not block the other threads.