zhufeizzz commented on issue #2353:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2353#issuecomment-822992803


   > ```
   > server:
   >   port: 0
   > ```
   > 
   > 不过注册就读取不到实际的地址了。 UT的话感觉一般不需要注册。 如果需要注册,暂时也想不到什么办法。
   > 
   > 参考:https://www.baeldung.com/spring-boot-running-port
   
   那能不能理解为目前ServiceComb不支持通过UT进行接口测试?必须通过启动服务+外置客户端的方式进行测试?如果这样的话编写测试用例的成本大幅上升。


-- 
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]


Reply via email to