Skip to content

[To dev/1.3] Exclude all AINode (AIClusterIT) integration tests from the build#17982

Open
CRZbulabula wants to merge 1 commit into
dev/1.3from
ignore-ainode-tests
Open

[To dev/1.3] Exclude all AINode (AIClusterIT) integration tests from the build#17982
CRZbulabula wants to merge 1 commit into
dev/1.3from
ignore-ainode-tests

Conversation

@CRZbulabula

Copy link
Copy Markdown
Contributor

What

Disable all AINode-related integration tests at the build level (by JUnit
category) instead of annotating each test with @Ignore.

Why

We want to temporarily stop running the AINode integration tests without
touching the test source code, so they can be re-enabled with a one-line
revert later.

How

AINodeBasicIT is the only AINode test class and it is annotated with
@Category({AIClusterIT.class}). The AIClusterIT Maven profile in
integration-test/pom.xml is the only entry point that runs this category
(every other IT profile includes only its own categories, so they never
pick up AINode tests).

This PR adds the AIClusterIT category to integrationTest.excludedGroups
in that profile. In maven-failsafe, excludedGroups takes precedence over
includedGroups, so even when the AIClusterIT profile is activated, no
AINode test is executed.

Scope

  • integration-test/pom.xmlAIClusterIT profile only
  • No test source files are modified; the change is purely build configuration.

🤖 Generated with Claude Code

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.54%. Comparing base (4e06a94) to head (49927c1).

Additional details and impacted files
@@            Coverage Diff             @@
##             dev/1.3   #17982   +/-   ##
==========================================
  Coverage      42.54%   42.54%           
  Complexity       241      241           
==========================================
  Files           3622     3622           
  Lines         241226   241226           
  Branches       29396    29396           
==========================================
+ Hits          102629   102633    +4     
+ Misses        138597   138593    -4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CRZbulabula CRZbulabula changed the title Exclude all AINode (AIClusterIT) integration tests from the build [To dev/1.3] Exclude all AINode (AIClusterIT) integration tests from the build Jun 18, 2026
@CRZbulabula CRZbulabula force-pushed the ignore-ainode-tests branch from efa5a92 to 95a00e7 Compare June 18, 2026 05:35
AINode integration tests are temporarily disabled at the build and CI
level, without touching any test source code:

- integration-test/pom.xml: add the AIClusterIT category to
  excludedGroups in the AIClusterIT profile. includedGroups is kept so
  the profile stays scoped to the AINode tests only; excludedGroups
  takes precedence over includedGroups in maven-failsafe, so no AINode
  test is executed even when the profile is activated.
- .github/workflows/cluster-it-1c1d1a.yml: remove the "Cluster IT -
  1C1D1A / AINode" workflow. Its only job built AINode and ran the
  AIClusterIT integration tests, so it is no longer needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@CRZbulabula CRZbulabula force-pushed the ignore-ainode-tests branch from 95a00e7 to 49927c1 Compare June 18, 2026 05:46
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant