Skip to content

MockRestServiceServer reset does not clear failedRequests #24486

@LSwiatek

Description

@LSwiatek

Affects: 5.2.1

MockRestServiceServer reset does not reset failed requests on AbstractRequestExpectationManager introduced in gh-21799

given there are multiple tests using single MockRestServiceServer bean
if the first test fails due to expectation, then all following tests will also fail with
"java.lang.AssertionError: Some requests did not execute successfully."


Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions