Skip to content

PHOENIX-8093 LocalIndexIT never runs - #2725

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

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

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

The local index test class has no test category, so the failsafe executions never select it and CI never runs it. The class lost its inherited category in PHOENIX-6537, which moved the categories to the concrete classes.

This change is test-only. It puts the class in the category for tests that need their own mini cluster, like its sibling class, because the base class starts a cluster with custom settings. When the class runs, some reverse scan and uncovered order by tests fail with a stack overflow. These are product defects that stayed hidden. PR #2632 (PHOENIX-7894) and PR #2633 (PHOENIX-7895) fix them, and with both PRs all tests pass. Merge this PR after PR #2632 and PR #2633.

🤖 Generated with Claude Code

LocalIndexIT has no test category since the 2021 category refactor, so the
failsafe executions never select it and CI never runs it. Like its sibling
FlappingLocalIndexIT it needs its own mini-cluster, so add it to
NeedsOwnMiniClusterTest. It depends on the fixes in PHOENIX-7894 and
PHOENIX-7895 to pass.

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.

🔵 Needs a closer look

The activated suite exposes known stack overflows while prerequisite PRs #2632 and #2633 remain open, requiring maintainer verification that both fixes are merged and the combined mini-cluster tests pass.

No open issues 🎉

What changed in this PR

Restores CI discovery of LocalIndexIT by assigning it to the category for tests requiring their own mini cluster. This is a test-only change and should merge after #2632 and #2633 address the failures it exposes.

Changes:

  • Adds @Category(NeedsOwnMiniClusterTest.class) and the required imports.
File Description
phoenix-core/​src/​it/​java/​org/​apache/​phoenix/​end2end/​index/​LocalIndexIT.java Adds the category needed for Failsafe to select the test class.

Review effort: Balanced

@apurtell

apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Precommit note: the failure in this run is related to this change, and its fix is in other open PRs.

(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