Correct documentation on streaming with MockMvcWebTestClient #32687
Labels
in: test
Issues in the test module
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: documentation
A documentation task
Milestone
Hello Spring team 👋,
I would like to report a unexpected and potential bug/limitation about
ServerSentEvent
and tests, using:If I define something like this:
I can test the first one, (
/is/ok
) but I can't test the second one, because the call tocomplete
is never called.I have tests defined like this:
And it returns this error:
full stack trace
However:
./gradlew bootRun
)Is this a limitation of this setup or a bug somewhere in the testing stack?
You have the full project code available here
The text was updated successfully, but these errors were encountered: