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

totalo 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 a9e253bf749 Fix shadow E2E on MySQL. (#29122)
a9e253bf749 is described below

commit a9e253bf749048f6fe246eee554a81a544c55483
Author: Raigor <[email protected]>
AuthorDate: Wed Nov 22 14:35:50 2023 +0800

    Fix shadow E2E on MySQL. (#29122)
---
 .../encrypt_shadow/proxy/conf/mysql/config-encrypt-shadow.yaml    | 4 ++--
 .../proxy/conf/mysql/config-shadow.yaml                           | 8 ++++----
 .../env/scenario/shadow/proxy/conf/mysql/config-shadow.yaml       | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/proxy/conf/mysql/config-encrypt-shadow.yaml
 
b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/proxy/conf/mysql/config-encrypt-shadow.yaml
index 3d6804693bc..1709fb1f10f 100644
--- 
a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/proxy/conf/mysql/config-encrypt-shadow.yaml
+++ 
b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/proxy/conf/mysql/config-encrypt-shadow.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_shadow
 
 dataSources:
   db:
-    url: 
jdbc:mysql://mysql.encrypt_shadow.host:3306/db?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.encrypt_shadow.host:3306/db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
@@ -28,7 +28,7 @@ dataSources:
     maxPoolSize: 2
     minPoolSize: 2
   encrypt_shadow_db:
-    url: 
jdbc:mysql://mysql.encrypt_shadow.host:3306/encrypt_shadow_db?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.encrypt_shadow.host:3306/encrypt_shadow_db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
diff --git 
a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/proxy/conf/mysql/config-shadow.yaml
 
b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/proxy/conf/mysql/config-shadow.yaml
index 5542391d940..d083a8ba86a 100644
--- 
a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/proxy/conf/mysql/config-shadow.yaml
+++ 
b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/proxy/conf/mysql/config-shadow.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting_and_shadow
 
 dataSources:
   write_db:
-    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
@@ -28,7 +28,7 @@ dataSources:
     maxPoolSize: 2
     minPoolSize: 2
   write_db_shadow:
-    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db_shadow?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db_shadow?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
@@ -37,7 +37,7 @@ dataSources:
     maxPoolSize: 2
     minPoolSize: 2
   read_0:
-    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_0?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_0?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
@@ -46,7 +46,7 @@ dataSources:
     maxPoolSize: 2
     minPoolSize: 2
   read_1:
-    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_1?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_1?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
diff --git 
a/test/e2e/sql/src/test/resources/env/scenario/shadow/proxy/conf/mysql/config-shadow.yaml
 
b/test/e2e/sql/src/test/resources/env/scenario/shadow/proxy/conf/mysql/config-shadow.yaml
index 799a48594ee..ed6f273bca5 100644
--- 
a/test/e2e/sql/src/test/resources/env/scenario/shadow/proxy/conf/mysql/config-shadow.yaml
+++ 
b/test/e2e/sql/src/test/resources/env/scenario/shadow/proxy/conf/mysql/config-shadow.yaml
@@ -19,7 +19,7 @@ databaseName: shadow
 
 dataSources:
   db:
-    url: 
jdbc:mysql://mysql.shadow.host:3306/db?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.shadow.host:3306/db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000
@@ -28,7 +28,7 @@ dataSources:
     maxPoolSize: 2
     minPoolSize: 2
   shadow_db:
-    url: 
jdbc:mysql://mysql.shadow.host:3306/shadow_db?useSSL=false&characterEncoding=utf-8
+    url: 
jdbc:mysql://mysql.shadow.host:3306/shadow_db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
     username: test_user
     password: Test@123
     connectionTimeoutMilliseconds: 30000

Reply via email to