Closed shuitingjianle closed 7 years ago
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
Thanks for the comment. I post the question to Stack Overflow: https://stackoverflow.com/questions/45616276/spring-boot-integration-test-throws-error-java-lang-illegalstateexception-time
I am seeing the same issue still. I am on spring-boot 2.1.2. I see no answers for the stackoverflow question posted. Is there fix for this ?
@balasenthil-d A stated in the answer on Stack Overflow, the Spring Framework team believe this may be a bug in WebFlux. If you're still experiencing the problem, please create a minimal sample that reproduces the problem and open a Spring Framework issue.
The issue happens on my project that uses Spring webflux via Spring boot 2.0.0.M3. Below is the dependencies of project,
I have an REST API, and the code is below:
The code works fine. When calling the API using Postman, it returns the correct result.
I have the Integration test code like below:
But the test fails throwing error message like below:
Any advice on how to solve the issue? Attached the DEBUG log for reference. agent.log.zip