Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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/`.
Attachments
Issue Links
- Blocked
-
IOTDB-1352 refactor the cluster E2E test to cover more cases (different cluster size)
- Closed
- links to