Caideyipi opened a new pull request, #19037: URL: https://github.com/apache/iotdb/pull/19037
## Description Reuse one cluster per test class in the insert-with-query, TsFile Load, receiver inspection, and local consensus-subscription ITs, instead of starting and destroying it for every method. Clean up databases, schema templates, users, and topics between methods, and restore stopped nodes. Reset the cluster after asynchronous Load so background work cannot outlive its input files or affect the next method, then reapply the class-specific configuration. Keep subscription checkpoint persistence configured before cluster startup. The open-source subscription feature gate and Failsafe exclusion remain unchanged. Subscription was enabled only in the disposable verification worktree; those enablement changes are not part of this PR. ## Validation Spotless apply and `git diff --check` passed. Focused Failsafe runs on remote Linux used `clean verify -pl integration-test -am -P with-integration-tests`, with Surefire tests disabled and reports checked for actual execution: | Profile / scope | Result | | --- | --- | | `ClusterIT`: `IoTDBInsertWithQueryIT` | 10 passed | | `ClusterIT`: `IoTDBLoadTsFileIT` | 17 passed, 1 pre-existing ignored test; rerun with the final Load changes and open-source subscription gates intact | | `SimpleIT`: 10 local consensus-subscription classes | 26 passed, 0 skipped, using temporary verification-only subscription enablement | | `MultiClusterIT1`: `IoTDBShowReceiversIT` | 9 passed | No new test methods were added. The manual subscription-disconnection suite was not run. No before/after performance benchmark was performed. This PR has: - [x] been tested in a test IoTDB cluster. ##### Key changed classes / packages - `IoTDBInsertWithQueryIT` - `IoTDBLoadTsFileIT` - `IoTDBShowReceiversIT` - `subscription.it.consensus.local.AbstractSubscriptionConsensusLocalIT` - `IoTDBConsensusSubscriptionRecoveryTableIT` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
