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/08/24 13:05:48 UTC

[GitHub] [dubbo] zrlw edited a comment on issue #8581: [2.7.13] org.apache.dubbo.common.utils.NetUtils的ignoreNetworkInterface方法处理不了网卡名包含圆括号的环境

zrlw edited a comment on issue #8581:
URL: https://github.com/apache/dubbo/issues/8581#issuecomment-904368301


   ```
   String ignoredInterfaces = “Intel(R) wireless XXX";
   System.setProperty(DUBBO_NETWORK_IGNORED_INTERFACE,ignoredInterfaces);
   ```
   详细可参考NetUtilsTest.java测试类里的testIgnoreGivenPrefixInterfaceName方法。
   PS:
   很多dubbo单元测试类使用了趋势网络防火墙的端口12345,有这个防火墙的环境下跑不动,虽然算不上缺陷,但是可以考虑把公共的测试参数集中起来统一进行配置,每个测试类都自己硬编码端口12345不太优雅,。


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