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 2022/07/25 01:55:17 UTC

[shardingsphere] branch master updated: Fix checkstyle in ShardingSphereProxyDockerContainer (#19511)

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 00e8042d473 Fix checkstyle in ShardingSphereProxyDockerContainer (#19511)
00e8042d473 is described below

commit 00e8042d47305fec1bb4d15ba17f88ac22b0fe7c
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Mon Jul 25 09:55:11 2022 +0800

    Fix checkstyle in ShardingSphereProxyDockerContainer (#19511)
---
 .../framework/container/proxy/ShardingSphereProxyDockerContainer.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/java/org/apache/shardingsphere/integration/data/pipeline/framework/container/proxy/ShardingSphereProxyDockerContainer.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/java/org/apache/shardingsphere/integration/data/pipeline/framework/container/proxy/ShardingSphereProxyDockerContainer.java
index b06f6c3b9a0..48dd8cf45b8 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/java/org/apache/shardingsphere/integration/data/pipeline/framework/container/proxy/ShardingSphereProxyDockerContainer.java
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/java/org/apache/shardingsphere/integration/data/pipeline/framework/container/proxy/ShardingSphereProxyDockerContainer.java
@@ -46,7 +46,8 @@ public final class ShardingSphereProxyDockerContainer extends DockerITContainer
         mapConfigurationFiles();
         // TODO openGauss can't use this wait strategy now.
         if (DatabaseTypeUtil.isPostgreSQL(databaseType)) {
-            setWaitStrategy(new JDBCConnectionWaitStrategy(() -> DriverManager.getConnection(DataSourceEnvironment.getURL(databaseType, getHost(), getMappedPort(3307), "postgres"), "root", "Root@123")));
+            setWaitStrategy(
+                    new JDBCConnectionWaitStrategy(() -> DriverManager.getConnection(DataSourceEnvironment.getURL(databaseType, getHost(), getMappedPort(3307), "postgres"), "root", "Root@123")));
         } else if (DatabaseTypeUtil.isMySQL(databaseType)) {
             setWaitStrategy(new JDBCConnectionWaitStrategy(() -> DriverManager.getConnection(DataSourceEnvironment.getURL(databaseType, getHost(), getMappedPort(3307), ""), "root", "Root@123")));
         }