You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/07/26 08:27:07 UTC

[shardingsphere] branch master updated: Fix scaling ci error (#19567)

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

zhonghongsheng 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 8aca0671e32 Fix scaling ci error (#19567)
8aca0671e32 is described below

commit 8aca0671e322e06c45031e38802d1935bbc87d9b
Author: Xinze Guo <10...@users.noreply.github.com>
AuthorDate: Tue Jul 26 16:26:59 2022 +0800

    Fix scaling ci error (#19567)
---
 .../src/test/resources/env/opengauss/initdb.sql            | 14 +++++++-------
 .../src/test/resources/env/postgresql/initdb.sql           | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/opengauss/initdb.sql b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/opengauss/initdb.sql
index 204594ea494..30ac3d22710 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/opengauss/initdb.sql
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/opengauss/initdb.sql
@@ -20,10 +20,10 @@ CREATE DATABASE scaling_it_2;
 CREATE DATABASE scaling_it_3;
 CREATE DATABASE scaling_it_4;
 CREATE USER normal_user WITH ENCRYPTED PASSWORD 'Root@123';
-CREATE DATABASE scaling;
-ALTER ROLE scaling CREATEDB REPLICATION;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_0 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_1 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_2 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_3 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_4 TO scaling;
+CREATE DATABASE normal_user;
+ALTER ROLE normal_user CREATEDB REPLICATION;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_0 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_1 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_2 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_3 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_4 TO normal_user;
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/postgresql/initdb.sql b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/postgresql/initdb.sql
index 204594ea494..30ac3d22710 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/postgresql/initdb.sql
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/resources/env/postgresql/initdb.sql
@@ -20,10 +20,10 @@ CREATE DATABASE scaling_it_2;
 CREATE DATABASE scaling_it_3;
 CREATE DATABASE scaling_it_4;
 CREATE USER normal_user WITH ENCRYPTED PASSWORD 'Root@123';
-CREATE DATABASE scaling;
-ALTER ROLE scaling CREATEDB REPLICATION;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_0 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_1 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_2 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_3 TO scaling;
-GRANT CREATE, CONNECT ON DATABASE scaling_it_4 TO scaling;
+CREATE DATABASE normal_user;
+ALTER ROLE normal_user CREATEDB REPLICATION;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_0 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_1 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_2 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_3 TO normal_user;
+GRANT CREATE, CONNECT ON DATABASE scaling_it_4 TO normal_user;