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

MockRestServiceServer reset does not clear failedRequests #24486

Closed
LSwiatek opened this issue Feb 6, 2020 · 0 comments
Closed

MockRestServiceServer reset does not clear failedRequests #24486

LSwiatek opened this issue Feb 6, 2020 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Milestone

Comments

@LSwiatek
Copy link

LSwiatek commented Feb 6, 2020

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."


@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 6, 2020
@rstoyanchev rstoyanchev self-assigned this Feb 6, 2020
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 6, 2020
@rstoyanchev rstoyanchev added this to the 5.2.4 milestone Feb 6, 2020
@rstoyanchev rstoyanchev added the for: backport-to-5.1.x Marks an issue as a candidate for backport to 5.1.x label Feb 10, 2020
@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-5.1.x Marks an issue as a candidate for backport to 5.1.x labels Feb 10, 2020
@rstoyanchev rstoyanchev modified the milestone: 5.2.4 Feb 10, 2020
@rstoyanchev rstoyanchev removed the status: backported An issue that has been backported to maintenance branches label Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants