Skip to content

PHOENIX-7829 TaskRegionObserver.SelfHealingTask runs unexpectedly during tests - #2446

Open
apurtell wants to merge 2 commits into
apache:masterfrom
apurtell:PHOENIX-7829
Open

PHOENIX-7829 TaskRegionObserver.SelfHealingTask runs unexpectedly during tests#2446
apurtell wants to merge 2 commits into
apache:masterfrom
apurtell:PHOENIX-7829

Conversation

@apurtell

@apurtell apurtell commented May 1, 2026

Copy link
Copy Markdown
Contributor

TaskRegionObserver.SelfHealingTask runs unexpectedly during tests, adding unexpected entries to SYSTEM.TASK and perturbing metrics, causing assertions to fail.

Make TaskRegionObserver.SelfHealingTask off-by-default for all Phoenix mini-cluster ITs by disabling its scheduling in BaseTest. Expose a TestUtil helper for tests that require this task to run.

@apurtell apurtell changed the title PHOENIX-7829 IndexMetadataIT.testAsyncRebuildAll filter SYSTEM.TASK queries to test's table PHOENIX-7829 TaskRegionObserver.SelfHealingTask runs unexpectedly during tests Jun 29, 2026
…ing tests

Co-authored-by: Claude Opus 4.8[1m] <noreply@anthropic.com>
@apurtell
apurtell requested a review from palashc June 29, 2026 18:31
@apurtell

Copy link
Copy Markdown
Contributor Author

I replaced the earlier PR with a more general solution after finding the root cause is common to several tests and a number of other tests seem to know about the problem based on their test setup configurations.

@palashc

palashc commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

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