You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/04 19:00:57 UTC

[GitHub] [dubbo] zrlw commented on issue #8675: [3.0] 单元测试org.apache.dubbo.config.spring.schema.GenericServiceTest的问题

zrlw commented on issue #8675:
URL: https://github.com/apache/dubbo/issues/8675#issuecomment-913022950


   感觉这个问题和 #8676 是同一个问题,github自动构建环境可能有多块网卡,没有配置DUBBO_IP_TO_BIND参数时,ServiceConfig的findConfigedHosts调用InetAddress.getLocalHost().getHostAddress()获得GenericServiceTest测试类的服务绑定IP地址是随机的,而ReferenceConfig构造Reference引用调用的是NetUtils.getLocalHost(),多网卡环境下二者返回地址会不一致。


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

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org