Skip to content

Temporarily skip node status failover integration tests - #18839

Merged
JackieTien97 merged 1 commit into
apache:masterfrom
d-wang-commit:temporarily-skip-node-status-failover-it
Oct 12, 2026
Merged

JackieTien97 merged 1 commit into
apache:masterfrom
d-wang-commit:temporarily-skip-node-status-failover-it

Conversation

@d-wang-commit

Copy link
Copy Markdown
Contributor

Description

Temporarily skip node status failover integration tests

Comment out all nine @Test annotations in IoTDBNodeStatusFailoverIT and add a class-level @Ignore. The ignore annotation lets JUnit skip the class without reporting "No runnable methods". Keep the test bodies and helpers for re-enabling the tests later.

Tests

  • UT: no tests added or modified; production code is unchanged.
  • IT: all nine tests in IoTDBNodeStatusFailoverIT are temporarily disabled. No new ITs were added, and the cluster scenarios were not run.
  • Validation: Spotless passed for the changed file. Compiled the proposed class with Java 17 against the existing local test dependencies and ran JUnitCore: 0 tests run, 1 class ignored, 0 failures. git diff --check passed.

Side effects and risks

Automated coverage of node status persistence during leader changes, shutdowns, quorum loss, snapshot recovery, and node removal is temporarily reduced. Re-enable the annotations and remove the class-level ignore when the tests are ready to run again. Production behavior is unchanged.


This PR has:

  • been self-reviewed.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.

Key changed/added classes (or packages if there are too many classes) in this PR
  • IoTDBNodeStatusFailoverIT: temporarily disables all nine integration tests while retaining their implementation.

Comment out all nine test annotations and ignore the class to prevent
JUnit from reporting no runnable methods while the tests are disabled.
@d-wang-commit d-wang-commit changed the title 临时跳过这个IT测试 Temporarily skip node status failover integration tests Oct 12, 2026
@JackieTien97
JackieTien97 merged commit 4541192 into apache:master Oct 12, 2026
36 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants