Skip to content

PHOENIX-8097 NonParameterizedIndexScrutinyToolIT never runs - #2729

Merged
apurtell merged 1 commit into
apache:masterfrom
apurtell:PHOENIX-8097
Dec 6, 2026
Merged

apurtell merged 1 commit into
apache:masterfrom
apurtell:PHOENIX-8097

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This test class has never had a test category, and its base classes have none. Thus the failsafe executions never select it, and CI never runs it. PHOENIX-6537 added a FIXME comment about this, but it did not add a category.

This change is test-only. It puts the class in the category for tests that need their own mini cluster, and it removes the comment. The base class setup sets its own server and client properties, so the class cannot share the parallel cluster. Two sibling classes extend the same base and already use this category. All tests pass on HBase 2.5 and 2.6, so no other change is necessary.

🤖 Generated with Claude Code

NonParameterizedIndexScrutinyToolIT has never had a test category, so the
failsafe executions never select it and CI never runs it. It extends
IndexScrutinyToolBaseIT, whose static setup sets its own server and client
properties. Like its siblings IndexScrutinyToolIT and
IndexScrutinyToolForTenantIT it needs its own mini-cluster, so add it to
NeedsOwnMiniClusterTest. Remove the FIXME about the missing category.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the test-only change enabling isolated mini-cluster execution.

No open issues 🎉

What changed in this PR

This test-only change makes NonParameterizedIndexScrutinyToolIT eligible for Maven Failsafe execution using its own mini cluster.

Changes:

  • Adds @Category(NeedsOwnMiniClusterTest.class) and its import.
  • Removes the obsolete FIXME about the missing category.
File Description
phoenix-core/​src/​it/​java/​org/​apache/​phoenix/​end2end/​NonParameterizedIndexScrutinyToolIT.java Categorizes the integration tests for isolated mini-cluster execution.

Review effort: Balanced

@apurtell

apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Precommit note: the failures in this run are not related to this change. Each one is a known problem on master.

(Claude Code)

@apurtell
apurtell merged commit ea30a06 into apache:master Dec 6, 2026
11 of 13 checks passed
@apurtell
apurtell deleted the PHOENIX-8097 branch December 6, 2026 06:22
asf-gitbox-commits pushed a commit that referenced this pull request Dec 6, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Andrew Purtell <apurtell@salesforce.com>
asf-gitbox-commits pushed a commit that referenced this pull request Dec 6, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Andrew Purtell <apurtell@salesforce.com>
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