[IOTDB-1310] Enable docker, docker-compose and testcontainer for End to end test...
authorXiangdong Huang <hxd@apache.org>
Sun, 25 Apr 2021 07:03:46 +0000 (15:03 +0800)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 07:03:46 +0000 (15:03 +0800)
commit7458f4d342b3a8002f12127c98c9552b1a7989e6
tree092f664f3421e277ac83c396746aa9c18273b40e
parentf2e53d7d2dc30ac97b81930d3f41a791e17bacba
[IOTDB-1310] Enable docker, docker-compose and testcontainer for End to end test (#3024)

* enable TestCongtainer for E2E test for (singleNode and cluster)

* remove duplicated operations in integration-test phase

* move spotless:apply to a profile `spotless`, which is enabled by default.

Co-authored-by: xiangdong huang <sainthxd@gmail.com>
35 files changed:
.github/workflows/e2e.yml
cli/pom.xml
cluster/pom.xml
cluster/src/assembly/resources/conf/iotdb-cluster.properties
cluster/src/main/java/org/apache/iotdb/cluster/ClusterMain.java
cluster/src/main/java/org/apache/iotdb/cluster/config/ClusterConfig.java
cross-tests/pom.xml
docker/src/main/Dockerfile-cluster [new file with mode: 0644]
docker/src/main/Dockerfile-single [moved from docker/src/main/Dockerfile with 95% similarity]
grafana/pom.xml
hadoop/pom.xml
jdbc/pom.xml
pom.xml
server/pom.xml
server/src/test/resources/testcontainers.properties [new file with mode: 0644]
service-rpc/pom.xml
session/pom.xml
test/e2e/base/docker-compose.yaml
test/e2e/cases/cli/cleanup.sh [changed mode: 0644->0755]
test/e2e/cases/cli/run.sh [changed mode: 0644->0755]
testcontainer/Readme.md [new file with mode: 0644]
testcontainer/pom.xml [new file with mode: 0644]
testcontainer/src/test/java/org/apache/iotdb/db/sql/ClusterIT.java [new file with mode: 0644]
testcontainer/src/test/java/org/apache/iotdb/db/sql/SingleNodeIT.java [new file with mode: 0644]
testcontainer/src/test/java/org/testcontainers/containers/NoProjectNameDockerComposeContainer.java [new file with mode: 0644]
testcontainer/src/test/resources/1node/docker-compose.yaml [new file with mode: 0644]
testcontainer/src/test/resources/1node/iotdb-cluster.properties [new file with mode: 0644]
testcontainer/src/test/resources/3nodes/docker-compose.yaml [new file with mode: 0644]
testcontainer/src/test/resources/3nodes/iotdb-cluster.properties [new file with mode: 0644]
testcontainer/src/test/resources/5nodes/docker-compose.yaml [new file with mode: 0644]
testcontainer/src/test/resources/5nodes/iotdb-cluster.properties [new file with mode: 0644]
testcontainer/src/test/resources/iotdb-engine.properties [new file with mode: 0644]
testcontainer/src/test/resources/logback-container.xml [new file with mode: 0644]
testcontainer/src/test/resources/logback.xml [new file with mode: 0644]
tsfile/pom.xml