Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1310

Cluster IT framework using Docker and TestContainer

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              Unassigned Unassigned
              hxd Xiangdong Huang
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: