Skip to content

PHOENIX-8113 UpgradeIndexToolTablesIT never runs - #2745

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

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

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This test class has no test category, so CI never runs it or its subclass for disabled namespace mapping. The build selects only the parallel test groups and the NeedsOwnMiniClusterTest group, and the base classes have no category. PHOENIX-7474 added both classes without one. They test that the Phoenix upgrade migrates the index tool result and output tables, with namespace mapping on and off.

This change is test-only. It adds the own-mini-cluster category, and the subclass inherits it. Each test loads system table snapshots into its own mini cluster, the same as the sibling upgrade tests that already use this category. Both classes pass when they run alone on the HBase 2.5 and 2.6 profiles.

🤖 Generated with Claude Code

UpgradeIndexToolTablesIT has had no test category since it was added, so
the failsafe executions never select it and CI never runs it. Like its
siblings UpgradeFromSnapshotIT, BlockedUpgradeIT and
SkipBlockUpgradeCheckIT, it loads system table snapshots into its own
mini-cluster and starts the driver with its own namespace mapping
properties, so add it to NeedsOwnMiniClusterTest. The subclass
UpgradeIndexToolTablesNameSpaceMappingDisabledIT inherits the 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 are recorded for this test-only change enabling CI discovery of the upgrade integration tests.

No open issues 🎉

What changed in this PR

Enables CI to discover the index-tool table upgrade integration tests for both namespace-mapping configurations. This change is test-only.

Changes:

  • Adds @Category(NeedsOwnMiniClusterTest.class) and its import to UpgradeIndexToolTablesIT.
  • The disabled-namespace-mapping subclass inherits the category.
File Description
phoenix-core/​src/​it/​java/​org/​apache/​phoenix/​end2end/​UpgradeIndexToolTablesIT.java Categorizes the upgrade tests for CI execution with their 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