Skip to content

PHOENIX-8111 SystemTablesUpgradeIT never runs - #2743

Open
apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-8111
Open

apurtell wants to merge 1 commit into
apache:masterfrom
apurtell:PHOENIX-8111

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

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 NeedsOwnMiniClusterTest group, 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

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>

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

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 NeedsOwnMiniClusterTest category 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

@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)

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