liubao68 commented on issue #2353:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/2353#issuecomment-822106335
servicecomb默认提供的模式不依赖spring boot, 因此你无法直接使用spring boot test来进行测试。 详细说明参考:
1.
[多协议介绍](https://docs.servicecomb.io/java-chassis/zh_CN/transports/introduction/)
2. [Servlet模式介绍和Spring
Boot集成方式介绍](https://docs.servicecomb.io/java-chassis/zh_CN/transports/rest-over-servlet/)
如果使用spring boot test, 只能使用Spring Boot集成方式。 那么servicecomb就是一个spring
boot应用,和普通的spring boot应用并没有任何差别,监听的也是SpringBoot的随机端口。 servicecomb只是作为spring
boot运行容器里面的一个servlet。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]