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 26621555bc8 Format : format the it doc and other Java file (#19596)
26621555bc8 is described below
commit 26621555bc8d1401ae616dd8bde7afa21e1f35e6
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed Jul 27 15:04:40 2022 +0800
Format : format the it doc and other Java file (#19596)
---
docs/document/content/test-manual/integration-test/_index.cn.md | 1 +
docs/document/content/test-manual/integration-test/_index.en.md | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/document/content/test-manual/integration-test/_index.cn.md
b/docs/document/content/test-manual/integration-test/_index.cn.md
index 35246036c8e..1ebd2303685 100644
--- a/docs/document/content/test-manual/integration-test/_index.cn.md
+++ b/docs/document/content/test-manual/integration-test/_index.cn.md
@@ -158,6 +158,7 @@ it.cluster.databases=H2,MySQL,Oracle,SQLServer,PostgreSQL
```bash
./mvnw -B clean install -f
shardingsphere-test/shardingsphere-integration-test/pom.xml -Pit.env.docker
-Dit.cluster.adapters=proxy,jdbc
-Dit.scenarios=${scenario_name_1,scenario_name_1,scenario_name_n}
-Dit.cluster.databases=MySQL
```
+
运行以上命令会构建出一个用于集成测试的 Docker 镜像 `apache/shardingsphere-proxy-test:latest`。
如果仅修改了测试代码,可以复用已有的测试镜像,无须重新构建。使用以下命令可以跳过镜像构建,直接运行集成测试:
diff --git a/docs/document/content/test-manual/integration-test/_index.en.md
b/docs/document/content/test-manual/integration-test/_index.en.md
index fb15ad064ea..9496f6a5448 100644
--- a/docs/document/content/test-manual/integration-test/_index.en.md
+++ b/docs/document/content/test-manual/integration-test/_index.en.md
@@ -135,6 +135,7 @@ This will reduce the difficulty for ShardingSphere testing.
```bash
./mvnw -B clean install -f
shardingsphere-test/shardingsphere-integration-test/pom.xml -Pit.env.docker
-Dit.cluster.adapters=proxy,jdbc
-Dit.scenarios=${scenario_name_1,scenario_name_1,scenario_name_n}
-Dit.cluster.databases=MySQL
```
+
Running the above command will build a Docker image
`apache/shardingsphere-proxy-test:latest` for integration testing.
The existing test Docker image can be reused without rebuilding if only the
test code is modified.
Use the following command to skip the image building and run the integration
tests directly: