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;
|
||||
|
||||
@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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user