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

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

bq. but isn't it better to move those testcases depending on 
TaskRegionEnvironment or internal server APIs to NeedsOwnMiniClusterTest 
category.

No.

As I said, those Categries are mainly for perfomance optimizations.
@NeedsOwnCluster tests are SLOW.

Moving tests that do not absolutely require it to @NeedsOwnCluster that is a 
VERY BAD IDEA.

Adding a new Category for tests that are expected to successfully run on a real 
cluster is fine.


> 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