mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Fixes #331
This commit is contained in:
parent
c5fa7068a4
commit
e6a1ba09fb
@ -64,7 +64,6 @@ public class AnsAutoServiceRegistrationIpNetworkInterfaceTests {
|
|||||||
private InetUtils inetUtils;
|
private InetUtils inetUtils;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
public void contextLoads() throws Exception {
|
public void contextLoads() throws Exception {
|
||||||
|
|
||||||
assertNotNull("AnsRegistration was not created", registration);
|
assertNotNull("AnsRegistration was not created", registration);
|
||||||
@ -132,7 +131,7 @@ public class AnsAutoServiceRegistrationIpNetworkInterfaceTests {
|
|||||||
hasValidNetworkInterface = true;
|
hasValidNetworkInterface = true;
|
||||||
netWorkInterfaceName = networkInterface.getName();
|
netWorkInterfaceName = networkInterface.getName();
|
||||||
System.setProperty(
|
System.setProperty(
|
||||||
"spring.cloud.alicloud.ans.client-interface-ame",
|
"spring.cloud.alicloud.ans.client-interface-name",
|
||||||
networkInterface.getName());
|
networkInterface.getName());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user