Skip to content

PHOENIX-8103 PrematureScanTimelyAbortIT never runs - #2735

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

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

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This test has no test category, so no failsafe execution selects it and CI never runs it. PHOENIX-6776 added it under a name that the include patterns do not match. PHOENIX-8069 corrected the name but commented out the category, because the test was not stable in a shared cluster. The test sets server properties at class setup, uses a fixed table name, and sets a static flag that makes scans fail on purpose. Thus it is not safe in a shared cluster.

The change is test-only. It puts the class in the category for tests that need their own mini-cluster. The execution for this category does not reuse forks, so the class always gets its own cluster. The test passes alone on HBase 2.5 and 2.6.

🤖 Generated with Claude Code

PrematureScanTimelyAbortIT has no test category, so the failsafe executions
never select it and CI never runs it. Its category was commented out because
the test was not stable in a shared cluster. The test sets its own server
config in its static setup, and a reused fork ignores that config once a
shared cluster exists. It also uses a fixed table name and flips a JVM-wide
static flag. Like other classes of this shape, add it to
NeedsOwnMiniClusterTest so that it always gets its own mini-cluster.

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 reported for the change assigning the test to a dedicated mini-cluster category.

No open issues 🎉

What changed in this PR

Enables CI to select PrematureScanTimelyAbortIT while isolating its cluster configuration and static state from shared-cluster tests.

Changes:

  • Adds the NeedsOwnMiniClusterTest category and required import.
  • Removes the obsolete comment explaining why the test was disabled.
File Description
phoenix-core/​src/​it/​java/​org/​apache/​phoenix/​end2end/​PrematureScanTimelyAbortIT.java Assigns the test to the dedicated mini-cluster category.

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