This is an automated email from the ASF dual-hosted git repository.
menghaoran 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 60fecd8 fix integration test proxy execute error (#11751)
60fecd8 is described below
commit 60fecd8724975d2d7fedcafa8406b907997a844e
Author: Zhengqiang Duan <[email protected]>
AuthorDate: Tue Aug 10 22:06:20 2021 +0800
fix integration test proxy execute error (#11751)
---
.../test/resources/docker/tbl/h2/proxy/conf/config-tbl.yaml | 10 ++++++++++
.../test/resources/docker/tbl/mysql/proxy/conf/config-tbl.yaml | 10 ++++++++++
.../resources/docker/tbl/postgresql/proxy/conf/config-tbl.yaml | 10 ++++++++++
3 files changed, 30 insertions(+)
diff --git
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/h2/proxy/conf/config-tbl.yaml
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/h2/proxy/conf/config-tbl.yaml
index 3980ce3..7092aa5 100644
---
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/h2/proxy/conf/config-tbl.yaml
+++
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/h2/proxy/conf/config-tbl.yaml
@@ -52,6 +52,12 @@ rules:
standard:
shardingColumn: order_id
shardingAlgorithmName: standard_test
+ t_order_federate_sharding:
+ actualDataNodes: tbl.t_order_federate_sharding_${0..1}
+ tableStrategy:
+ standard:
+ shardingColumn: order_id_sharding
+ shardingAlgorithmName: table_inline_order_id
bindingTables:
- t_order,t_order_item,t_order_details
broadcastTables:
@@ -61,6 +67,10 @@ rules:
shardingAlgorithms:
standard_test:
type: STANDARD_TEST
+ table_inline_order_id:
+ type: INLINE
+ props:
+ algorithm-expression: t_order_federate_sharding_${order_id_sharding %
2}
keyGenerators:
constant:
diff --git
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/mysql/proxy/conf/config-tbl.yaml
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/mysql/proxy/conf/config-tbl.yaml
index 3980ce3..7092aa5 100644
---
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/mysql/proxy/conf/config-tbl.yaml
+++
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/mysql/proxy/conf/config-tbl.yaml
@@ -52,6 +52,12 @@ rules:
standard:
shardingColumn: order_id
shardingAlgorithmName: standard_test
+ t_order_federate_sharding:
+ actualDataNodes: tbl.t_order_federate_sharding_${0..1}
+ tableStrategy:
+ standard:
+ shardingColumn: order_id_sharding
+ shardingAlgorithmName: table_inline_order_id
bindingTables:
- t_order,t_order_item,t_order_details
broadcastTables:
@@ -61,6 +67,10 @@ rules:
shardingAlgorithms:
standard_test:
type: STANDARD_TEST
+ table_inline_order_id:
+ type: INLINE
+ props:
+ algorithm-expression: t_order_federate_sharding_${order_id_sharding %
2}
keyGenerators:
constant:
diff --git
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/postgresql/proxy/conf/config-tbl.yaml
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/postgresql/proxy/conf/config-tbl.yaml
index de512a4..ae808ac 100644
---
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/postgresql/proxy/conf/config-tbl.yaml
+++
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/tbl/postgresql/proxy/conf/config-tbl.yaml
@@ -52,6 +52,12 @@ rules:
standard:
shardingColumn: order_id
shardingAlgorithmName: standard_test
+ t_order_federate_sharding:
+ actualDataNodes: tbl.t_order_federate_sharding_${0..1}
+ tableStrategy:
+ standard:
+ shardingColumn: order_id_sharding
+ shardingAlgorithmName: table_inline_order_id
bindingTables:
- t_order,t_order_item,t_order_details
broadcastTables:
@@ -61,6 +67,10 @@ rules:
shardingAlgorithms:
standard_test:
type: STANDARD_TEST
+ table_inline_order_id:
+ type: INLINE
+ props:
+ algorithm-expression: t_order_federate_sharding_${order_id_sharding %
2}
keyGenerators:
constant: