1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Merge pull request #337 from flystar32/master

Fixes #331
This commit is contained in:
format 2019-02-01 13:00:04 +08:00 committed by GitHub
commit 78e5a0a380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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