Andrew Kyle Purtell created PHOENIX-7840:
--------------------------------------------
Summary: UpdateCacheIT recategorize as NeedsOwnMiniClusterTest
Key: PHOENIX-7840
URL: https://issues.apache.org/jira/browse/PHOENIX-7840
Project: Phoenix
Issue Type: Sub-task
Components: test
Reporter: Andrew Kyle Purtell
Assignee: Andrew Kyle Purtell
Fix For: 5.4.0, 5.3.1
{{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}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)