Skip to content

PHOENIX-7840 UpdateCacheIT recategorize as NeedsOwnMiniClusterTest#2457

Open
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7840
Open

PHOENIX-7840 UpdateCacheIT recategorize as NeedsOwnMiniClusterTest#2457
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7840

Conversation

@apurtell
Copy link
Copy Markdown
Contributor

@apurtell apurtell commented May 2, 2026

UpdateCacheIT.helpTestUpdateCache wraps the singleton ConnectionQueryServices in a Mockito spy so the resulting PhoenixConnection's services field is the spy and every internal call routed back through it is retained with strong references to every argument. That retention layered on top of an already heavy long-lived CQS singleton can tip the surefire runner into OutOfMemoryError. The fix recategorizes the suite as NeedsOwnMiniClusterTest

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.

1 participant