Repository navigation
Conversation
SystemTablesUpgradeIT has had no test category since it was added, so the failsafe executions never select it and CI never runs it. It sets its own driver class in a static setup, keeps static upgrade-counting state and reinitializes the connection query services, so it needs its own mini-cluster. Add it to NeedsOwnMiniClusterTest and 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
No active review issues remain for the test-category change intended to restore system-table upgrade coverage.
No open issues 🎉
What changed in this PR
Enables Maven and CI to run SystemTablesUpgradeIT, restoring coverage for system-table upgrades and the task-table split policy.
Changes:
- Adds the
NeedsOwnMiniClusterTestcategory and its JUnit import. - Removes the obsolete comment about the missing category.
| File | Description |
|---|---|
| phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesUpgradeIT.java | Categorizes the test to run with its own mini cluster. |
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 no test category, so CI and a local Maven verify never run it. The build selects only the parallel test groups and the
NeedsOwnMiniClusterTestgroup, and the base class has no category. The class has had no category since PHOENIX-4335. PHOENIX-6537 added a comment about this, but no category. The test checks that the system tables upgrade only once and that the task table uses its own split policy.This change is test-only. It adds the own-mini-cluster category and removes the old comment. The class installs its own test driver, keeps static upgrade state and reinitializes the query services. Thus it needs its own mini cluster. It passes when it runs alone on the HBase 2.5 and 2.6 profiles.
🤖 Generated with Claude Code