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 29defea3b82 Fix import test case config files (#28624)
29defea3b82 is described below

commit 29defea3b82c46e37d3f11f73f5fe8cbd70123f5
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Oct 2 21:54:39 2023 +0800

    Fix import test case config files (#28624)
---
 .../src/test/resources/conf/import/config-duplicated-logic-table.yaml  | 2 ++
 .../src/test/resources/conf/import/config-empty-database-name.yaml     | 2 ++
 proxy/backend/core/src/test/resources/conf/import/config-encrypt.yaml  | 2 ++
 .../core/src/test/resources/conf/import/config-invalid-algorithm.yaml  | 2 ++
 proxy/backend/core/src/test/resources/conf/import/config-mask.yaml     | 2 ++
 .../src/test/resources/conf/import/config-readwrite-splitting.yaml     | 3 +++
 proxy/backend/core/src/test/resources/conf/import/config-shadow.yaml   | 2 ++
 proxy/backend/core/src/test/resources/conf/import/config-sharding.yaml | 2 ++
 8 files changed, 17 insertions(+)

diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-duplicated-logic-table.yaml
 
b/proxy/backend/core/src/test/resources/conf/import/config-duplicated-logic-table.yaml
index 446c64bc569..4c573579be6 100644
--- 
a/proxy/backend/core/src/test/resources/conf/import/config-duplicated-logic-table.yaml
+++ 
b/proxy/backend/core/src/test/resources/conf/import/config-duplicated-logic-table.yaml
@@ -19,6 +19,7 @@ databaseName: sharding_db
 
 dataSources:
   ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:
diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-empty-database-name.yaml
 
b/proxy/backend/core/src/test/resources/conf/import/config-empty-database-name.yaml
index c48a6296b3d..d9f809eee11 100644
--- 
a/proxy/backend/core/src/test/resources/conf/import/config-empty-database-name.yaml
+++ 
b/proxy/backend/core/src/test/resources/conf/import/config-empty-database-name.yaml
@@ -17,6 +17,7 @@
 
 dataSources:
   ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -26,6 +27,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:
diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-encrypt.yaml 
b/proxy/backend/core/src/test/resources/conf/import/config-encrypt.yaml
index c6b0fdd565e..8db3648f7d7 100644
--- a/proxy/backend/core/src/test/resources/conf/import/config-encrypt.yaml
+++ b/proxy/backend/core/src/test/resources/conf/import/config-encrypt.yaml
@@ -19,6 +19,7 @@ databaseName: encrypt_db
 
 dataSources:
   ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:
diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-invalid-algorithm.yaml
 
b/proxy/backend/core/src/test/resources/conf/import/config-invalid-algorithm.yaml
index 887b2d93a6a..9299647c8cf 100644
--- 
a/proxy/backend/core/src/test/resources/conf/import/config-invalid-algorithm.yaml
+++ 
b/proxy/backend/core/src/test/resources/conf/import/config-invalid-algorithm.yaml
@@ -19,6 +19,7 @@ databaseName: sharding_db
 
 dataSources:
   ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:
diff --git a/proxy/backend/core/src/test/resources/conf/import/config-mask.yaml 
b/proxy/backend/core/src/test/resources/conf/import/config-mask.yaml
index 6479e7c954a..1b2540db74f 100644
--- a/proxy/backend/core/src/test/resources/conf/import/config-mask.yaml
+++ b/proxy/backend/core/src/test/resources/conf/import/config-mask.yaml
@@ -19,6 +19,7 @@ databaseName: mask_db
 
 dataSources:
   ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:
diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-readwrite-splitting.yaml
 
b/proxy/backend/core/src/test/resources/conf/import/config-readwrite-splitting.yaml
index 4b09a4e1d18..30af779bda0 100644
--- 
a/proxy/backend/core/src/test/resources/conf/import/config-readwrite-splitting.yaml
+++ 
b/proxy/backend/core/src/test/resources/conf/import/config-readwrite-splitting.yaml
@@ -19,6 +19,7 @@ databaseName: readwrite_splitting_db
 
 dataSources:
   write_ds:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_write_ds
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   read_ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_read_ds_0
     username: root
     password:
@@ -37,6 +39,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   read_ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_read_ds_1
     username: root
     password:
diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-shadow.yaml 
b/proxy/backend/core/src/test/resources/conf/import/config-shadow.yaml
index ec52ad40e70..b4f03f17c7f 100644
--- a/proxy/backend/core/src/test/resources/conf/import/config-shadow.yaml
+++ b/proxy/backend/core/src/test/resources/conf/import/config-shadow.yaml
@@ -19,6 +19,7 @@ databaseName: shadow_db
 
 dataSources:
   ds:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   shadow_ds:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:
diff --git 
a/proxy/backend/core/src/test/resources/conf/import/config-sharding.yaml 
b/proxy/backend/core/src/test/resources/conf/import/config-sharding.yaml
index 77cb41c42d3..f0e52abd78c 100644
--- a/proxy/backend/core/src/test/resources/conf/import/config-sharding.yaml
+++ b/proxy/backend/core/src/test/resources/conf/import/config-sharding.yaml
@@ -19,6 +19,7 @@ databaseName: sharding_db
 
 dataSources:
   ds_0:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_0
     username: root
     password:
@@ -28,6 +29,7 @@ dataSources:
     maxPoolSize: 50
     minPoolSize: 1
   ds_1:
+    dataSourceClassName: 
org.apache.shardingsphere.test.fixture.jdbc.MockedDataSource
     url: jdbc:mock://127.0.0.1/demo_ds_1
     username: root
     password:

Reply via email to