1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00
This commit is contained in:
flystar32 2019-02-01 12:48:43 +08:00
parent c5fa7068a4
commit e6a1ba09fb

View File

@ -64,7 +64,6 @@ public class AnsAutoServiceRegistrationIpNetworkInterfaceTests {
private InetUtils inetUtils;
@Test
@Ignore
public void contextLoads() throws Exception {
assertNotNull("AnsRegistration was not created", registration);
@ -132,7 +131,7 @@ public class AnsAutoServiceRegistrationIpNetworkInterfaceTests {
hasValidNetworkInterface = true;
netWorkInterfaceName = networkInterface.getName();
System.setProperty(
"spring.cloud.alicloud.ans.client-interface-ame",
"spring.cloud.alicloud.ans.client-interface-name",
networkInterface.getName());
break;
}