[ 
https://issues.apache.org/jira/browse/PHOENIX-7840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Viraj Jasani updated PHOENIX-7840:
----------------------------------
    Fix Version/s: 5.3.2
                       (was: 5.3.1)

> 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
>            Priority: Minor
>             Fix For: 5.4.0, 5.3.2
>
>
> {{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)

Reply via email to