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
WebTestClient cannot block when receive infinity stream of SSE #24131
Comments
There was a related recent change #23936 but with or without it I can't reproduce it. Can you try with the latest 5.1.12 (and also 5.2.2) just to be sure? If you still see the problem, please provide a sample. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Affects: 5.1.5.RELEASE
I try to receive infinity Flux of server sent events represented by strings.
On my test - WebTestClient always throw IllegalStateException, because on the 'exchange' method it uses block with timeout.
Controller code:
Model:
Test code:
The text was updated successfully, but these errors were encountered: