Repository navigation
Conversation
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>
There was a problem hiding this comment.
🟢 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 toUpgradeIndexToolTablesIT. - 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
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 never runs it or its subclass for disabled namespace mapping. The build selects only the parallel test groups and the
NeedsOwnMiniClusterTestgroup, 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