Repository navigation
Conversation
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>
There was a problem hiding this comment.
🟢 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
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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