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 3a64c49 For xml format (#16006)
3a64c49 is described below
commit 3a64c493d72818edf8fb4ccdb3908b9e8807d301
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Mar 11 21:43:16 2022 +0800
For xml format (#16006)
* For code format
* For code format
---
.../cases/ral/ral-integration-test-cases.xml | 25 +++++++++++-----------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/cases/ral/ral-integration-test-cases.xml
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/cases/ral/ral-integration-test-cases.xml
index f509610..a85ec8f 100644
---
a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/cases/ral/ral-integration-test-cases.xml
+++
b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/cases/ral/ral-integration-test-cases.xml
@@ -33,7 +33,7 @@
<test-case sql="preview select * from t_user_item">
<assertion expected-data-file="preview_sql.xml"/>
</test-case>
-
+
<test-case sql="PREVIEW SELECT * FROM t_single_table s INNER JOIN
t_user_item i ON s.single_id = i.item_id WHERE i.user_id = 1">
<assertion expected-data-file="preview_federation_select.xml"/>
</test-case>
@@ -42,17 +42,6 @@
<assertion expected-data-file="default_sharding_hint.xml"/>
</test-case>
- <test-case sql="show readwrite_splitting hint status">
- <assertion expected-data-file="default_readwrite_splitting_hint.xml"/>
- </test-case>
-
- <test-case sql="show readwrite_splitting hint status">
- <assertion expected-data-file="set_readwrite_splitting_hint.xml">
- <initial-sql sql="set readwrite_splitting hint source = write"/>
- <destroy-sql sql="clear readwrite_splitting hint"/>
- </assertion>
- </test-case>
-
<test-case sql="show sharding hint status">
<assertion expected-data-file="set_database_value_hint.xml">
<initial-sql sql="set sharding hint database_value = 100"/>
@@ -67,11 +56,21 @@
</assertion>
</test-case>
-
<test-case sql="show sharding hint status">
<assertion expected-data-file="add_table_value_hint.xml">
<initial-sql sql="add sharding hint table_value t_user_item= 100"/>
<destroy-sql sql="clear sharding hint"/>
</assertion>
</test-case>
+
+ <test-case sql="show readwrite_splitting hint status">
+ <assertion expected-data-file="default_readwrite_splitting_hint.xml"/>
+ </test-case>
+
+ <test-case sql="show readwrite_splitting hint status">
+ <assertion expected-data-file="set_readwrite_splitting_hint.xml">
+ <initial-sql sql="set readwrite_splitting hint source = write"/>
+ <destroy-sql sql="clear readwrite_splitting hint"/>
+ </assertion>
+ </test-case>
</integration-test-cases>