[ 
https://issues.apache.org/jira/browse/PHOENIX-7177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806514#comment-17806514
 ] 

Istvan Toth commented on PHOENIX-7177:
--------------------------------------

That's not how the categories are organized.

NeedsOwnMiniCluster test are the ones that need special server-side 
configurationa, and cannot re-use the existing minicluster from another test.
This is mostly a performance issue, as creating a new cluster for each test is 
very expensive, and we want to re-use clusters where we can.

I can't recall whether we have a mechanism to mark tests that are expected to 
work on real cluster, but the current @Categories are NOT meant for that, and 
should not be used for that.

Maybe a @Category could be added for tests that are expected to run on real 
cluster.



> some IT testcases depending on TaskRegionEnvironment can't run on distributed 
> HBaseCluster
> ------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7177
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7177
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Anchal Kejriwal
>            Assignee: Anchal Kejriwal
>            Priority: Major
>              Labels: test
>
> Reason: Because of initialisation of TaskRegionEnvironment in internal API 
> call which needs miniCluster to run testcases
> Example testcase: ReadIsolationLevelIT



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to