release 1.14.0-rc1 and avoid potential port conflict in unit tests. (#1245)

Co-authored-by: shedfreewu <shedfreewu@tencent.com>
pull/1250/head 1.14.0-Hoxton.SR12-RC1
shedfreewu 11 months ago committed by GitHub
parent b1b354c784
commit c54875bea4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -90,7 +90,7 @@
<properties>
<!-- Project revision -->
<revision>1.14.0-Hoxton.SR12-SNAPSHOT</revision>
<revision>1.14.0-Hoxton.SR12-RC1</revision>
<!-- Spring Framework -->
<spring.framework.version>5.2.25.RELEASE</spring.framework.version>

@ -70,10 +70,10 @@
</developers>
<properties>
<revision>1.14.0-Hoxton.SR12-SNAPSHOT</revision>
<revision>1.14.0-Hoxton.SR12-RC1</revision>
<!-- Dependencies -->
<polaris.version>1.15.2-SNAPSHOT</polaris.version>
<polaris.version>1.15.2</polaris.version>
<guava.version>32.0.1-jre</guava.version>
<logback.version>1.2.13</logback.version>
<springfox.swagger2.version>3.0.0</springfox.swagger2.version>

@ -72,6 +72,8 @@ public class LosslessRegistryAspectTest {
private static int LOSSLESS_PORT_1 = 28083;
private static int NACOS_LOSSLESS_PORT = 28093;
private static NamingServer namingServer;
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner()
@ -131,7 +133,7 @@ public class LosslessRegistryAspectTest {
.withPropertyValues("spring.cloud.polaris.discovery.enabled=false")
.withPropertyValues("spring.cloud.polaris.lossless.delayRegisterInterval=5000")
.withPropertyValues("spring.cloud.polaris.lossless.healthCheckPath=")
.withPropertyValues("spring.cloud.polaris.lossless.port=" + LOSSLESS_PORT_1)
.withPropertyValues("spring.cloud.polaris.lossless.port=" + NACOS_LOSSLESS_PORT)
.withPropertyValues("spring.application.name=" + SERVICE_PROVIDER)
.withPropertyValues("server.port=" + APPLICATION_PORT)
.withPropertyValues("spring.cloud.polaris.localIpAddress=" + HOST)

Loading…
Cancel
Save