After a period of work, we finally achieved the milestone of the IT framework refactors.
The PR link is https://github.com/apache/iotdb/pull/4371 And the user guide link is https://github.com/irvine0109/iotdb/blob/IOTDB-1559/integration/README.md Currently, the following features can be achieved: - The test cases can be reused. The same set of test cases can be shared with multiple test environments after being marked. - Support a variety of test environments. Now the framework can support local standalone test environments, cluster test environments, and remote test environments. As the test environment and test cases are decoupled, new test environments can be easily implemented. - Easy to run and expand. You can configure appropriate parameters through Maven commands or IDE to run tests based on various environments. And horizontal expansion is convenient to run in the GitHub Action test environment. This is not the final version, and it needs to be improved in these aspects: - Refactor more test cases. We refactor most of the IT cases, and there is still a tiny part of them. - Implement more cluster environments. Currently, only the pseudo-cluster mode with five nodes is implemented in the cluster mode. - The refactor of one-node writing and multi-node reading. At present, the same node reads and writes in the cluster environment. In the future, it can be refactored into one-node writing and multi-node reading. This is currently in progress. Thanks for any comments. And there is some discussion in slack channel #integraion-test in Chinese.
