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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct documentation on streaming with MockMvcWebTestClient #32687
Comments
Thanks for the sample. MockMvc builds on We cannot support infinite streaming because In short, |
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: