Skip to content

Commit

Permalink
Add E2E SQL case
Browse files Browse the repository at this point in the history
  • Loading branch information
raojf committed Jan 14, 2025
1 parent da6051e commit 6ab3c78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/sql/src/test/resources/cases/dql/e2e-dql-select.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<!-- <assertion parameters="1:int" expected-data-source-name="prod_dataset" />-->
<!-- <assertion parameters="0:int" expected-data-source-name="shadow_dataset" />-->
<!-- </test-case>-->

<test-case sql="SELECT * FROM t_merchant WHERE business_code LIKE '%18'" db-types="MySQL,PostgreSQL,openGauss" scenario-types="db,encrypt"
scenario-comments="Test single table's LIKE operator percentage wildcard in simple select statement when use sharding feature.|Test encrypt table's LIKE operator percentage wildcard in simple select statement when use encrypt feature.">
<assertion expected-data-source-name="read_dataset" />
Expand All @@ -182,4 +182,8 @@
<test-case sql="select * from shardingsphere.cluster_information;" db-types="MySQL,PostgreSQL,openGauss" scenario-types="db">
<assertion expected-data-file="select_cluster_information.xml" />
</test-case>

<test-case sql="SELECT order_id FROM t_order LIMIT ?" db-types="MySQL" scenario-types="db_tbl_sql_federation">
<assertion parameters="1:int" expected-data-source-name="read_dataset" />
</test-case>
</e2e-test-cases>

0 comments on commit 6ab3c78

Please sign in to comment.