Skip to content

PHOENIX-8104 ParallelStatsDisabledTest execution runs NeedsOwnMiniClusterTest cases twice - #2736

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

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

Conversation

@apurtell

@apurtell apurtell commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

The precommit test coverage check fails on every PR run on master, 5.3 and 5.2. It reports that two sort order test classes run in more than one job. Both classes need their own mini-cluster, but they extend a parent class in the parallel stats-disabled category. The failsafe category filter also matches the category of a parent class. Thus these classes run once on the shared cluster, and again on their own cluster.

The change is test-only and changes only the failsafe configuration in the root POM. The parallel stats-disabled execution now excludes tests that need their own mini-cluster. These two classes then run only in their own execution. No class stops running, and the other executions do not change.

🤖 Generated with Claude Code

…sterTest cases twice

Some NeedsOwnMiniClusterTest classes extend a ParallelStatsDisabledTest class.
Failsafe also matches the category of a parent class, so these classes run
in two CI jobs, and the test coverage check fails on every precommit run.
The ParallelStatsDisabledTest execution now excludes NeedsOwnMiniClusterTest.
These classes run only in their own execution. No class stops running.

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 test-filter change intended to prevent duplicate integration-test execution.

No open issues 🎉

What changed in this PR

Prevents duplicate integration-test execution by excluding tests requiring their own mini-cluster from the parallel stats-disabled Failsafe execution.

Changes:

  • Adds the NeedsOwnMiniClusterTest category exclusion.
  • Documents why inherited test categories require this exclusion.
File Description
pom.xml Updates the parallel stats-disabled test filter to avoid duplicate runs.

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