From 2fb1d064446ff05420b459645fab70459a1d2996 Mon Sep 17 00:00:00 2001 From: yuhuangbin Date: Tue, 7 Sep 2021 11:32:55 +0800 Subject: [PATCH] upgrade Nacos client version to 2.0.3 --- .../nacos/ribbon/NacosRibbonClientPropertyOverrideTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/ribbon/NacosRibbonClientPropertyOverrideTests.java b/spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/ribbon/NacosRibbonClientPropertyOverrideTests.java index 3692414f4..af9110d33 100644 --- a/spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/ribbon/NacosRibbonClientPropertyOverrideTests.java +++ b/spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/ribbon/NacosRibbonClientPropertyOverrideTests.java @@ -40,7 +40,8 @@ import org.springframework.test.context.junit4.SpringRunner; */ @RunWith(SpringRunner.class) @SpringBootTest(classes = NacosRibbonClientPropertyOverrideTests.TestConfiguration.class, - properties = { "spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848", + properties = { "spring.cloud.nacos.server-addr=127.0.0.1:8848", + "spring.cloud.nacos.username=nacos", "spring.cloud.nacos.password=nacos", "spring.cloud.nacos.discovery.port=18080", "spring.cloud.nacos.discovery.service=remoteApp", "localApp.ribbon.NIWSServerListClassName="