diff --git a/agent/plugins/tracing/test/pom.xml b/agent/plugins/tracing/test/pom.xml
index b8e1ef8b66b70..6a4e8c5c0959c 100644
--- a/agent/plugins/tracing/test/pom.xml
+++ b/agent/plugins/tracing/test/pom.xml
@@ -55,6 +55,11 @@
junit
compile
+
+ org.junit.vintage
+ junit-vintage-engine
+ compile
+
org.mockito
mockito-core
diff --git a/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java b/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java
index 22d98f0a101ec..2951851b37953 100644
--- a/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java
+++ b/dialect-exception/postgresql/src/test/java/org/apache/shardingsphere/dialect/postgresql/message/ServerErrorMessageBuilderTest.java
@@ -18,19 +18,19 @@
package org.apache.shardingsphere.dialect.postgresql.message;
import org.apache.shardingsphere.dialect.postgresql.vendor.PostgreSQLVendorError;
-import org.junit.Assert;
import org.junit.Test;
import org.postgresql.util.ServerErrorMessage;
import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.MatcherAssert.assertThat;
public final class ServerErrorMessageBuilderTest {
@Test
public void assertToServerErrorMessage() {
ServerErrorMessage actual = ServerErrorMessageBuilder.build("FATAL", PostgreSQLVendorError.PRIVILEGE_NOT_GRANTED, "foo_user", "foo_db");
- Assert.assertThat(actual.getSeverity(), is("FATAL"));
- Assert.assertThat(actual.getSQLState(), is(PostgreSQLVendorError.PRIVILEGE_NOT_GRANTED.getSqlState().getValue()));
- Assert.assertThat(actual.getMessage(), is("Access denied for user 'foo_user' to database 'foo_db'"));
+ assertThat(actual.getSeverity(), is("FATAL"));
+ assertThat(actual.getSQLState(), is(PostgreSQLVendorError.PRIVILEGE_NOT_GRANTED.getSqlState().getValue()));
+ assertThat(actual.getMessage(), is("Access denied for user 'foo_user' to database 'foo_db'"));
}
}
diff --git a/distribution/proxy/src/main/release-docs/LICENSE b/distribution/proxy/src/main/release-docs/LICENSE
index 47b191249a4c0..ffb7abf60748e 100644
--- a/distribution/proxy/src/main/release-docs/LICENSE
+++ b/distribution/proxy/src/main/release-docs/LICENSE
@@ -222,7 +222,7 @@ The text of each license is the standard Apache 2.0 license.
avatica-core 1.22.0: https://calcite.apache.org/avatica, Apache 2.0
avatica-metrics 1.22.0: https://calcite.apache.org/avatica, Apache 2.0
auto-service-annotations 1.0: https://github.com/google/auto/tree/master/service, Apache 2.0
- caffeine 2.9.2: https://github.com/ben-manes/caffeine, Apache 2.0
+ caffeine 2.9.3: https://github.com/ben-manes/caffeine, Apache 2.0
calcite-core 1.32.0: https://calcite.apache.org, Apache 2.0
calcite-linq4j 1.32.0: https://calcite.apache.org, Apache 2.0
commons-codec 1.15: https://github.com/apache/commons-codec, Apache 2.0
@@ -230,25 +230,25 @@ The text of each license is the standard Apache 2.0 license.
commons-exec 1.3: https://github.com/apache/commons-exec, Apache 2.0
commons-io 2.11.0: https://github.com/apache/commons-io, Apache 2.0
commons-lang 2.6: https://github.com/apache/commons-lang, Apache 2.0
- commons-lang3 3.8: https://github.com/apache/commons-lang, Apache 2.0
+ commons-lang3 3.12.0: https://github.com/apache/commons-lang, Apache 2.0
commons-logging 1.1.3: https://github.com/apache/commons-logging, Apache 2.0
- curator-client 5.1.0: https://github.com/apache/curator, Apache 2.0
- curator-framework 5.1.0: https://github.com/apache/curator, Apache 2.0
- curator-recipes 5.1.0: https://github.com/apache/curator, Apache 2.0
+ curator-client 5.3.0: https://github.com/apache/curator, Apache 2.0
+ curator-framework 5.3.0: https://github.com/apache/curator, Apache 2.0
+ curator-recipes 5.3.0: https://github.com/apache/curator, Apache 2.0
cosid-core 1.14.4: https://github.com/Ahoo-Wang/CosId, Apache 2.0
error_prone_annotations 2.3.4: https://github.com/google/error-prone, Apache 2.0
failsafe 2.4.1: https://github.com/jhalterman/failsafe, Apache 2.0
failureaccess 1.0.1: https://github.com/google/guava, Apache 2.0
freemarker 2.3.31: https://freemarker.apache.org/, Apache 2.0
- groovy 4.0.3: https://groovy.apache.org/, Apache 2.0
- grpc-api 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-context 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-core 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-grpclb 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-netty 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-protobuf 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-protobuf-lite 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
- grpc-stub 1.39.0: https://github.com/grpc/grpc-java, Apache 2.0
+ groovy 4.0.6: https://groovy.apache.org/, Apache 2.0
+ grpc-api 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-context 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-core 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-grpclb 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-netty 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-protobuf 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-protobuf-lite 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
+ grpc-stub 1.48.0: https://github.com/grpc/grpc-java, Apache 2.0
gson 2.9.1: https://github.com/google/gson, Apache 2.0
guava 30.0-jre: https://github.com/google/guava, Apache 2.0
HikariCP 3.4.2: https://github.com/brettwooldridge/HikariCP, Apache 2.0
@@ -260,30 +260,30 @@ The text of each license is the standard Apache 2.0 license.
jackson-databind 2.10.0: http://github.com/FasterXML/jackson, Apache 2.0
jackson-dataformat-yaml 2.13.2: http://github.com/FasterXML/jackson, Apache 2.0
jcl-over-slf4j 1.7.36: https://github.com/qos-ch/slf4j, Apache 2.0
- jetcd-common 0.5.10: https://github.com/etcd-io/jetcd, Apache 2.0
- jetcd-core 0.5.10: https://github.com/etcd-io/jetcd, Apache 2.0
+ jetcd-common 0.7.3: https://github.com/etcd-io/jetcd, Apache 2.0
+ jetcd-core 0.7.3: https://github.com/etcd-io/jetcd, Apache 2.0
json-path 2.7.0: https://github.com/jayway/JsonPath, Apache 2.0
json-smart 2.4.7: https://www.minidev.net/, Apache 2.0
json-simple 1.1.1: https://code.google.com/archive/p/json-simple/, Apache 2.0
jsr305 3.0.2: http://findbugs.sourceforge.net/, Apache 2.0
log4j 1.2.17: http://logging.apache.org/log4j/1.2/, Apache 2.0
memory 0.9.0, Apache 2.0
- netty-buffer 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-codec 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-codec-dns 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-codec-http 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-codec-http2 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-codec-socks 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-common 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-handler 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-handler-proxy 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-resolver 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-resolver-dns 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-transport 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-transport-classes-epoll 4.1.80.Final: https://github.com/netty, Apache 2.0
- netty-transport-native-epoll 4.1.80.Final-linux-aarch_64: https://github.com/netty, Apache 2.0
- netty-transport-native-epoll 4.1.80.Final-linux-x86_64: https://github.com/netty, Apache 2.0
- netty-transport-native-unix-common 4.1.80.Final: https://github.com/netty, Apache 2.0
+ netty-buffer 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-codec 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-codec-dns 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-codec-http 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-codec-http2 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-codec-socks 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-common 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-handler 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-handler-proxy 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-resolver 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-resolver-dns 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-transport 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-transport-classes-epoll 4.1.84.Final: https://github.com/netty, Apache 2.0
+ netty-transport-native-epoll 4.1.84.Final-linux-aarch_64: https://github.com/netty, Apache 2.0
+ netty-transport-native-epoll 4.1.84.Final-linux-x86_64: https://github.com/netty, Apache 2.0
+ netty-transport-native-unix-common 4.1.84.Final: https://github.com/netty, Apache 2.0
perfmark-api 0.23.0: https://github.com/perfmark/perfmark, Apache 2.0
proto-google-common-protos 2.0.1: https://github.com/googleapis/common-protos-java, Apache 2.0
proj4j 1.1.5: https://github.com/locationtech/proj4j, Apache 2.0
@@ -293,8 +293,8 @@ The text of each license is the standard Apache 2.0 license.
uzaygezen-core 0.2: https://code.google.com/p/uzaygezen, Apache 2.0
vertx-mysql-client 4.3.3: https://github.com/eclipse-vertx/vertx-sql-client, Apache 2.0
vertx-sql-client 4.3.3: https://github.com/eclipse-vertx/vertx-sql-client, Apache 2.0
- zookeeper 3.6.0: https://github.com/apache/zookeeper, Apache 2.0
- zookeeper-jute 3.6.0: https://github.com/apache/zookeeper, Apache 2.0
+ zookeeper 3.8.0: https://github.com/apache/zookeeper, Apache 2.0
+ zookeeper-jute 3.8.0: https://github.com/apache/zookeeper, Apache 2.0
========================================================================
Apache 2.0 licenses
@@ -303,11 +303,11 @@ Apache 2.0 licenses
The following components are provided under the Apache License. See project link for details.
The text of each license is also included at licenses/LICENSE-[project].txt.
- atomikos-util 5.0.8: https://www.atomikos.com, Apache 2.0
- transactions 5.0.8: https://www.atomikos.com, Apache 2.0
- transactions-api 5.0.8: https://www.atomikos.com, Apache 2.0
- transactions-jdbc 5.0.8: https://www.atomikos.com, Apache 2.0
- transactions-jta 5.0.8: https://www.atomikos.com, Apache 2.0
+ atomikos-util 5.0.9: https://www.atomikos.com, Apache 2.0
+ transactions 5.0.9: https://www.atomikos.com, Apache 2.0
+ transactions-api 5.0.9: https://www.atomikos.com, Apache 2.0
+ transactions-jdbc 5.0.9: https://www.atomikos.com, Apache 2.0
+ transactions-jta 5.0.9: https://www.atomikos.com, Apache 2.0
vertx-core 4.3.3: https://github.com/eclipse-vertx/vert.x, Apache 2.0
========================================================================
@@ -344,8 +344,8 @@ EPL licenses
The following components are provided under the EPL License. See project link for details.
The text of each license is also included at licenses/LICENSE-[project].txt.
- logback-classic 1.2.10: https://github.com/qos-ch/logback, EPL 1.0
- logback-core 1.2.10: https://github.com/qos-ch/logback, EPL 1.0
+ logback-classic 1.2.11: https://github.com/qos-ch/logback, EPL 1.0
+ logback-core 1.2.11: https://github.com/qos-ch/logback, EPL 1.0
mchange-commons-java 0.2.15: https://github.com/swaldman/mchange-commons-java, EPL 1.0
h2 2.1.214: https://github.com/h2database/h2database, EPL 1.0
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.cn.md
index 81d281e38de46..3fcb9ea925846 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.cn.md
@@ -40,7 +40,7 @@ ShardingSphere-Proxy 支持配置多个逻辑数据源,每个以 `config-` 前
ShardingSphere-Proxy 默认集成 ZooKeeper Curator 客户端,集群模式使用 ZooKeeper 无须引入其他依赖。
-如果集群模式使用 Etcd,需要将 Etcd 的客户端驱动程序 [jetcd-core 0.5.0](https://repo1.maven.org/maven2/io/etcd/jetcd-core/0.5.0/jetcd-core-0.5.0.jar) 复制至目录 `ext-lib`。
+如果集群模式使用 Etcd,需要将 Etcd 的客户端驱动程序 [jetcd-core 0.7.3](https://repo1.maven.org/maven2/io/etcd/jetcd-core/0.7.3/jetcd-core-0.7.3.jar) 复制至目录 `ext-lib`。
6. (可选)引入分布式事务所需依赖
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.en.md b/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.en.md
index 7469409997325..a0ba596c0c9fb 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/startup/bin.en.md
@@ -41,7 +41,7 @@ If the backend is connected to a MySQL database, please download [mysql-connecto
ShardingSphere-Proxy integrates the ZooKeeper Curator client by default. ZooKeeper is used in cluster mode without introducing other dependencies.
-If the cluster mode uses Etcd, the client drivers of Etcd [jetcd-core 0.5.0](https://repo1.maven.org/maven2/io/etcd/jetcd-core/0.5.0/jetcd-core-0.5.0.jar) need to be copied into the `ext-lib` directory.
+If the cluster mode uses Etcd, the client drivers of Etcd [jetcd-core 0.7.3](https://repo1.maven.org/maven2/io/etcd/jetcd-core/0.7.3/jetcd-core-0.7.3.jar) need to be copied into the `ext-lib` directory.
6. Introduce dependencies required by distributed transactions (Optional)
diff --git a/examples/pom.xml b/examples/pom.xml
index d0e54caa3ea74..7976215b962e4 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -64,7 +64,7 @@
1.4.2
- 4.13.2
+ 4.13.2
1.3
2.7.21
@@ -373,7 +373,7 @@
junit
junit
- ${junit.version}
+ ${junit4.version}
provided
diff --git a/infra/common/src/test/java/org/apache/shardingsphere/infra/datasource/props/DataSourcePropertiesTest.java b/infra/common/src/test/java/org/apache/shardingsphere/infra/datasource/props/DataSourcePropertiesTest.java
index 83c4a069fc258..f902bd5eb4cd8 100644
--- a/infra/common/src/test/java/org/apache/shardingsphere/infra/datasource/props/DataSourcePropertiesTest.java
+++ b/infra/common/src/test/java/org/apache/shardingsphere/infra/datasource/props/DataSourcePropertiesTest.java
@@ -18,9 +18,7 @@
package org.apache.shardingsphere.infra.datasource.props;
import org.apache.shardingsphere.test.mock.MockedDataSource;
-import org.junit.Rule;
import org.junit.Test;
-import org.junit.rules.ExpectedException;
import java.util.Arrays;
import java.util.HashMap;
@@ -32,16 +30,13 @@
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
+import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
-import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertTrue;
public final class DataSourcePropertiesTest {
- @Rule
- public ExpectedException thrown = ExpectedException.none();
-
@SuppressWarnings("unchecked")
@Test
public void assertGetDataSourceConfigurationWithConnectionInitSqls() {
diff --git a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/api/impl/AbstractPipelineJobAPIImpl.java b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/api/impl/AbstractPipelineJobAPIImpl.java
index 65d195d451b41..ff09f119145bd 100644
--- a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/api/impl/AbstractPipelineJobAPIImpl.java
+++ b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/api/impl/AbstractPipelineJobAPIImpl.java
@@ -19,7 +19,7 @@
import com.google.common.base.Preconditions;
import lombok.extern.slf4j.Slf4j;
-import org.apache.commons.lang.exception.ExceptionUtils;
+import org.apache.commons.lang3.exception.ExceptionUtils;
import org.apache.shardingsphere.data.pipeline.api.config.job.PipelineJobConfiguration;
import org.apache.shardingsphere.data.pipeline.api.config.job.yaml.YamlPipelineJobConfiguration;
import org.apache.shardingsphere.data.pipeline.api.job.PipelineJobId;
diff --git a/kernel/transaction/type/xa/provider/atomikos/pom.xml b/kernel/transaction/type/xa/provider/atomikos/pom.xml
index 6f7deafca5b75..65a4b2b1cb0af 100644
--- a/kernel/transaction/type/xa/provider/atomikos/pom.xml
+++ b/kernel/transaction/type/xa/provider/atomikos/pom.xml
@@ -28,7 +28,7 @@
${project.artifactId}
- 5.0.8
+ 5.0.9
diff --git a/mode/type/cluster/repository/provider/etcd/src/main/java/org/apache/shardingsphere/mode/repository/cluster/etcd/EtcdRepository.java b/mode/type/cluster/repository/provider/etcd/src/main/java/org/apache/shardingsphere/mode/repository/cluster/etcd/EtcdRepository.java
index d7c3c3441b9be..15542e8e30771 100644
--- a/mode/type/cluster/repository/provider/etcd/src/main/java/org/apache/shardingsphere/mode/repository/cluster/etcd/EtcdRepository.java
+++ b/mode/type/cluster/repository/provider/etcd/src/main/java/org/apache/shardingsphere/mode/repository/cluster/etcd/EtcdRepository.java
@@ -17,17 +17,19 @@
package org.apache.shardingsphere.mode.repository.cluster.etcd;
+import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import io.etcd.jetcd.ByteSequence;
import io.etcd.jetcd.Client;
import io.etcd.jetcd.KeyValue;
-import io.etcd.jetcd.Util;
import io.etcd.jetcd.Watch;
import io.etcd.jetcd.options.DeleteOption;
import io.etcd.jetcd.options.GetOption;
+import io.etcd.jetcd.options.OptionsUtil;
import io.etcd.jetcd.options.PutOption;
import io.etcd.jetcd.options.WatchOption;
import io.etcd.jetcd.support.Observers;
+import io.etcd.jetcd.support.Util;
import io.etcd.jetcd.watch.WatchEvent;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
@@ -200,8 +202,10 @@ public void watch(final String key, final DataChangedEventListener dataChangedEv
}
}
});
- client.getWatchClient().watch(ByteSequence.from(key, StandardCharsets.UTF_8),
- WatchOption.newBuilder().withPrefix(ByteSequence.from(key, StandardCharsets.UTF_8)).build(), listener);
+ ByteSequence prefix = ByteSequence.from(key, StandardCharsets.UTF_8);
+ Preconditions.checkNotNull(prefix, "prefix should not be null");
+ client.getWatchClient().watch(prefix,
+ WatchOption.newBuilder().withRange(OptionsUtil.prefixEndOf(prefix)).build(), listener);
}
private Type getEventChangedType(final WatchEvent event) {
diff --git a/pom.xml b/pom.xml
index 0824454671475..4e74c5e0fb8f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,14 +60,14 @@
org.apache.shardingsphere.dependencies
30.0-jre
- 3.8
+ 3.12.0
4.4
1.15
4.9.2
1.33
2.9.1
- 4.0.3
+ 4.0.6
2.3.0
1.3.2
@@ -75,20 +75,20 @@
1.32.0
4.3.3
- 4.1.80.Final
+ 4.1.84.Final
1.1
- 3.6.0
- 5.1.0
- 0.5.10
+ 3.8.0
+ 5.3.0
+ 0.7.3
3.0.1
[4.3.6.RELEASE,5.0.0.M1)
[1.5.20.RELEASE,2.0.0.M1)
- 1.12.10
+ 1.12.12
0.11.0
0.16.1
0.31.0
@@ -99,7 +99,7 @@
1.3.0-alpha
1.7.36
- 1.2.10
+ 1.2.11
1.18.20
@@ -112,10 +112,11 @@
3.4.2
2.2.0
-
- 4.13.2
+
+ 5.9.1
+ 4.13.2
1.3
- 4.5.1
+ 4.8.0
3.8.0
@@ -123,7 +124,7 @@
3.3.0
3.3.0
3.2.0
- 2.18.1
+ 3.0.0-M7
2.8.2
3.0.0-M6
3.3.0
@@ -151,7 +152,7 @@
4.9.10
2.3.31
2.22.1
- 2.9.2
+ 2.9.3
@@ -373,6 +374,14 @@
com.google.android
annotations
+
+ io.vertx
+ vertx-grpc
+
+
+ io.netty
+ netty-transport-native-unix-common
+
@@ -611,7 +620,13 @@
junit
junit
- ${junit.version}
+ ${junit4.version}
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ ${junit5.version}
test
@@ -708,6 +723,10 @@
junit
junit
+
+ org.junit.vintage
+ junit-vintage-engine
+
org.hamcrest
hamcrest-library
@@ -773,6 +792,7 @@
maven-surefire-plugin
+ ${maven-surefire-plugin.version}
false
diff --git a/proxy/frontend/reactive-core/src/test/java/org/apache/shardingsphere/proxy/frontend/reactive/protocol/ReactiveDatabaseProtocolFrontendEngineFactoryTest.java b/proxy/frontend/reactive-core/src/test/java/org/apache/shardingsphere/proxy/frontend/reactive/protocol/ReactiveDatabaseProtocolFrontendEngineFactoryTest.java
index 39daacf658e96..17ad616a6cfee 100644
--- a/proxy/frontend/reactive-core/src/test/java/org/apache/shardingsphere/proxy/frontend/reactive/protocol/ReactiveDatabaseProtocolFrontendEngineFactoryTest.java
+++ b/proxy/frontend/reactive-core/src/test/java/org/apache/shardingsphere/proxy/frontend/reactive/protocol/ReactiveDatabaseProtocolFrontendEngineFactoryTest.java
@@ -17,18 +17,18 @@
package org.apache.shardingsphere.proxy.frontend.reactive.protocol;
-import org.apache.shardingsphere.proxy.frontend.reactive.protocol.fixture.DummyReactiveDatabaseProtocolFrontendEngine;
import org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundServerException;
-import org.junit.Assert;
+import org.apache.shardingsphere.proxy.frontend.reactive.protocol.fixture.DummyReactiveDatabaseProtocolFrontendEngine;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.MatcherAssert.assertThat;
public final class ReactiveDatabaseProtocolFrontendEngineFactoryTest {
@Test
public void assertNewInstance() {
- Assert.assertThat(ReactiveDatabaseProtocolFrontendEngineFactory.newInstance("Dummy"), instanceOf(DummyReactiveDatabaseProtocolFrontendEngine.class));
+ assertThat(ReactiveDatabaseProtocolFrontendEngineFactory.newInstance("Dummy"), instanceOf(DummyReactiveDatabaseProtocolFrontendEngine.class));
}
@Test(expected = ServiceProviderNotFoundServerException.class)
diff --git a/test/common/pom.xml b/test/common/pom.xml
index 02394fe5699d1..b23dd5fa19ff5 100644
--- a/test/common/pom.xml
+++ b/test/common/pom.xml
@@ -42,5 +42,10 @@
junit
compile
+
+ org.junit.vintage
+ junit-vintage-engine
+ compile
+
diff --git a/test/integration-test/transaction/pom.xml b/test/integration-test/transaction/pom.xml
index 0450076335810..90d31a35d74ef 100644
--- a/test/integration-test/transaction/pom.xml
+++ b/test/integration-test/transaction/pom.xml
@@ -29,7 +29,7 @@
true
- 5.0.8
+ 5.0.9
5.12.4.Final
7.6.0.Final
3.2.1.Final
diff --git a/test/parser/pom.xml b/test/parser/pom.xml
index 591e8e052b1d6..121e1c771d5b6 100644
--- a/test/parser/pom.xml
+++ b/test/parser/pom.xml
@@ -107,6 +107,11 @@
junit
compile
+
+ org.junit.vintage
+ junit-vintage-engine
+ compile
+
org.apache.shardingsphere
shardingsphere-test-common