Xiangdong Huang created IOTDB-1310: -------------------------------------- Summary: Cluster IT framework using Docker and TestContainer Key: IOTDB-1310 URL: https://issues.apache.org/jira/browse/IOTDB-1310 Project: Apache IoTDB Issue Type: Task Components: Cluster Reporter: Xiangdong Huang
Currently, we have no IT for the cluster module, which is very very dangerous. Docker and TestContainer framework can help us to implement that. Design: 1. We need to add a new module `testcontainer`. The module will be added if your PC/Mac has installed Docker. 2. the `testcontainer` module will build two docker images: `apache/iotdb:maven-development` and `apache/iotdb:cluster-maven-development` when running `mvn pre-integration-test` 3. Some E2E test with TestContainer framework examples should be provided, in `testcontainer/src/test/java/`, while one is for single node and another is for cluster with 3 nodes. 4. To disable the `testcontainer` module, use `-P !testcontainer` in your `mvn` command. Then, the rest work is add more and more test cases in `testcontainer/src/test/java/`. -- This message was sent by Atlassian Jira (v8.3.4#803005)