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

[Issues] 765 Support customized beat interval of Nacos client

This commit is contained in:
ly 2019-07-18 22:52:26 +08:00
parent d332ae666b
commit 3860f5eabb
3 changed files with 26 additions and 26 deletions

View File

@ -169,18 +169,18 @@ public class NacosAutoServiceRegistrationTests {
}
private void checkoutNacosDiscoveryHeartBeatInterval() {
assertEquals("NacosDiscoveryProperties heart beat interval was wrong", Integer.valueOf(3),
properties.getHeartBeatInterval());
assertEquals("NacosDiscoveryProperties heart beat interval was wrong",
Integer.valueOf(3), properties.getHeartBeatInterval());
}
private void checkoutNacosDiscoveryHeartBeatTimeout() {
assertEquals("NacosDiscoveryProperties heart beat timeout was wrong", Integer.valueOf(6),
properties.getHeartBeatInterval());
assertEquals("NacosDiscoveryProperties heart beat timeout was wrong",
Integer.valueOf(6), properties.getHeartBeatInterval());
}
private void checkoutNacosDiscoveryIpDeleteTimeout() {
assertEquals("NacosDiscoveryProperties ip delete timeout was wrong", Integer.valueOf(9),
properties.getHeartBeatInterval());
assertEquals("NacosDiscoveryProperties ip delete timeout was wrong",
Integer.valueOf(9), properties.getHeartBeatInterval());
}
private void checkoutNacosDiscoveryServiceName() {