This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 58680be34d update it doc (#6452)
58680be34d is described below
commit 58680be34dde988f6ad485c930a3d01d63340bb7
Author: Yuyuan Kang <[email protected]>
AuthorDate: Mon Jun 27 17:53:40 2022 -0700
update it doc (#6452)
---
.../Integration-Test-refactoring-tutorial.md | 40 +---------------------
.../Integration-Test-refactoring-tutorial.md | 39 ---------------------
2 files changed, 1 insertion(+), 78 deletions(-)
diff --git
a/docs/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
b/docs/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
index d5311018c8..1922daaf17 100644
--- a/docs/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
+++ b/docs/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
@@ -47,7 +47,7 @@ Black-box testing is a software testing method that evaluates
the functionality
Generally, there are three steps to finish the integration test, (1)
constructing the test class and annotating the environment, (2) housekeeping to
prepare for the test and clean up the environment after the test, and (3)
implementing the logic of the integration test. To test IoTDB not under the
default configuration, the configuration should be changed before the test,
which will be introduced in section 4.
-<img style="width:100%; max-width:800px; max-height:600px; margin-left:auto;
margin-right:auto; display:block;"
src="https://github.com/apache/iotdb-bin-resources/blob/main/integration-test/pic/step.svg">
+<img style="width:100%; max-width:800px; max-height:600px; margin-left:auto;
margin-right:auto; display:block;"
src="https://github.com/apache/iotdb-bin-resources/blob/main/integration-test/pic/step_en.svg">
#### 1. Integration Test Class (IT Class) and Annotations
@@ -220,44 +220,6 @@ public class IoTDBAlignedSeriesQueryIT {
}
```
-### Commands for starting IT
-
-1 Execute IT in the cluster environment
-
-```shell script
-mvn clean verify \
- -Dsession.test.skip=true \
- -Diotdb.test.skip=true \
- -Dcluster.test.skip=true \
- -Dtsfile.test.skip=true \
- -Dcommons.test.skip=true \
- -Dconfignode.test.skip=true \
- -Dconsensus.test.skip=true \
- -Djdbc.test.skip=true \
- -Dmetrics.test.skip=true \
- -pl integration-test -am -PClusterIT
-```
-2 Execute IT in the local standalone environment
-
-```shell script
-mvn clean verify \
- -Dsession.test.skip=true \
- -Diotdb.test.skip=true \
- -Dcluster.test.skip=true \
- -Dtsfile.test.skip=true \
- -Dcommons.test.skip=true \
- -Dconfignode.test.skip=true \
- -Dconsensus.test.skip=true \
- -pl integration-test -am
-```
-
-3 Execute IT in the remote environment
-
-```shell script
-mvn clean verify -pl integration-test -am -PRemoteIT \
- -DRemoteIp=127.0.0.1 \
- -DRemotePort=6667
-```
## Q&A
### Ways to check the log after the CI failure
diff --git
a/docs/zh/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
b/docs/zh/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
index 1be2b134a5..bfbd0d4f32 100644
---
a/docs/zh/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
+++
b/docs/zh/UserGuide/Integration-Test/Integration-Test-refactoring-tutorial.md
@@ -206,45 +206,6 @@ public class IoTDBAlignedSeriesQueryIT {
}
```
-### 集成测试的启动命令
-
-1、在本地集群测试环境下运行集成测试
-
-```shell script
-mvn clean verify \
- -Dsession.test.skip=true \
- -Diotdb.test.skip=true \
- -Dcluster.test.skip=true \
- -Dtsfile.test.skip=true \
- -Dcommons.test.skip=true \
- -Dconfignode.test.skip=true \
- -Dconsensus.test.skip=true \
- -Djdbc.test.skip=true \
- -Dmetrics.test.skip=true \
- -pl integration-test -am -PClusterIT
-```
-2、在本地单机测试环境下运行集成测试
-
-```shell script
-mvn clean verify \
- -Dsession.test.skip=true \
- -Diotdb.test.skip=true \
- -Dcluster.test.skip=true \
- -Dtsfile.test.skip=true \
- -Dcommons.test.skip=true \
- -Dconfignode.test.skip=true \
- -Dconsensus.test.skip=true \
- -pl integration-test -am
-```
-
-3、在远程测试环境下运行集成测试
-
-```shell script
-mvn clean verify -pl integration-test -am -PRemoteIT \
- -DRemoteIp=127.0.0.1 \
- -DRemotePort=6667
-```
-
## Q&A
### CI 出错后查看日志的方法
1、点击出错的测试对应的 Details