Repository navigation
Conversation
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>
There was a problem hiding this comment.
🟢 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
NeedsOwnMiniClusterTestcategory 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
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 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