You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2023/02/15 01:57:47 UTC

[shardingsphere] branch master updated: Upgrade curator version to 5.4.0 (#24160)

This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d558eeeedb Upgrade curator version to 5.4.0 (#24160)
2d558eeeedb is described below

commit 2d558eeeedb522ab74cc6d9d5bc3967b29a9617d
Author: zhaojinchao <zh...@apache.org>
AuthorDate: Wed Feb 15 09:57:37 2023 +0800

    Upgrade curator version to 5.4.0 (#24160)
---
 pom.xml                                                                | 2 +-
 .../test/it/data/pipeline/core/fixture/EmbedTestingServer.java         | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3bbc406710e..dea6222fb12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -84,7 +84,7 @@
         <javax.transaction.version>1.1</javax.transaction.version>
         
         <zookeeper.version>3.8.1</zookeeper.version>
-        <curator.version>5.3.0</curator.version>
+        <curator.version>5.4.0</curator.version>
         <jetcd.version>0.7.5</jetcd.version>
         
         <elasticjob.version>3.0.2</elasticjob.version>
diff --git a/test/it/pipeline/src/test/java/org/apache/shardingsphere/test/it/data/pipeline/core/fixture/EmbedTestingServer.java b/test/it/pipeline/src/test/java/org/apache/shardingsphere/test/it/data/pipeline/core/fixture/EmbedTestingServer.java
index 46d6cd82fc3..f8149eeb544 100644
--- a/test/it/pipeline/src/test/java/org/apache/shardingsphere/test/it/data/pipeline/core/fixture/EmbedTestingServer.java
+++ b/test/it/pipeline/src/test/java/org/apache/shardingsphere/test/it/data/pipeline/core/fixture/EmbedTestingServer.java
@@ -30,7 +30,6 @@ import org.apache.zookeeper.KeeperException.ConnectionLossException;
 import org.apache.zookeeper.KeeperException.NoNodeException;
 import org.apache.zookeeper.KeeperException.NodeExistsException;
 
-import java.io.File;
 import java.io.IOException;
 import java.util.Collection;
 import java.util.concurrent.TimeUnit;
@@ -66,7 +65,7 @@ public final class EmbedTestingServer {
     
     private static void start0() {
         try {
-            testingServer = new TestingServer(PORT, new File(String.format("target/test_zk_data/%s/", System.nanoTime())));
+            testingServer = new TestingServer(PORT, true);
             // CHECKSTYLE:OFF
         } catch (final Exception ex) {
             // CHECKSTYLE:ON