release 1.13.0.

pull/1242/head 1.13.0-Hoxton.SR12
Haotian Zhang 11 months ago
parent 527f97d82b
commit 0c8dda6285

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

@ -138,6 +138,11 @@ public class MockedConfigKVFile implements ConfigKVFile {
return false; return false;
} }
@Override
public String getMd5() {
return null;
}
@Override @Override
public void addChangeListener(ConfigFileChangeListener configFileChangeListener) { public void addChangeListener(ConfigFileChangeListener configFileChangeListener) {

@ -20,6 +20,7 @@ package com.tencent.cloud.polaris.config.condition;
import java.io.IOException; import java.io.IOException;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.util.Objects;
import com.tencent.cloud.polaris.config.PolarisConfigAutoConfiguration; import com.tencent.cloud.polaris.config.PolarisConfigAutoConfiguration;
import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration; import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration;
@ -67,7 +68,9 @@ public class ConditionalOnReflectRefreshTypeTest {
@AfterAll @AfterAll
static void afterAll() throws IOException { static void afterAll() throws IOException {
serverSocket.close(); if (Objects.nonNull(serverSocket)) {
serverSocket.close();
}
} }
@Test @Test

@ -22,6 +22,7 @@ import java.io.IOException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.net.ServerSocket; import java.net.ServerSocket;
import java.util.Collection; import java.util.Collection;
import java.util.Objects;
import java.util.Optional; import java.util.Optional;
import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration; import com.tencent.cloud.polaris.config.PolarisConfigBootstrapAutoConfiguration;
@ -71,7 +72,9 @@ public class SpringValueProcessorTest {
@AfterAll @AfterAll
static void afterAll() throws IOException { static void afterAll() throws IOException {
serverSocket.close(); if (Objects.nonNull(serverSocket)) {
serverSocket.close();
}
} }
@Test @Test

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

Loading…
Cancel
Save