zhaojinchao95 opened a new issue, #20867: URL: https://github.com/apache/shardingsphere/issues/20867
Hi community, ## Aim : Add some integration test case for [RAL](https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/) ## How to do 1. You need to know about the integration test module [shardingsphere-integration-test-suite](https://github.com/apache/shardingsphere/tree/master/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite) 2. Add test case in `ral-integration-test-cases.xml` 3. Add [expected data file ](https://github.com/apache/shardingsphere/tree/master/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/cases/ral/dataset/empty_rules) ## How to run 1. You need have `docker` environment in your local. 2. Build IT image `./mvnw -B clean install -am -pl shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite -Pit.env.docker -DskipTests -Dspotless.apply.skip=true`. 3. Fill in `it.run.modes `with [it-env.properties](https://github.com/apache/shardingsphere/blob/master/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/env/it-env.properties). 4. Run [GeneralRALIT.class](https://github.com/apache/shardingsphere/blob/master/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/ral/GeneralRALIT.java). ## Task list : - [ ] SHOW INSTANCE LIST - [ ] SHOW READWRITE_SPLITTING READ RESOURCE - [ ] SHOW AUTHORITY RULE - [ ] SHOW TRANSACTION RULE - [ ] SHOW SQL_PARSER RULE - [ ] SHOW INSTANCE INFO - [ ] SHOW MODE INFO - [ ] COUNT DATABASE RULES - [ ] SET VARIABLE sql_show = true - [ ] SHOW ALL VARIABLES - [ ] SHOW VARIABLE sql_show -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
