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

James Taylor commented on PHOENIX-3461:
---------------------------------------

Yes, a new test category would still spin up a mini cluster, but it would be 
used by multiple tests (i.e. all tests that need stats enabled and namepsaces 
enabled). That's what I did for all tests needing stats enabled. Rather than 
spin up 11 separate mini clusters, we now spin up a single one and run all 
these tests in the same one.

If we anticipate more tests where stats are enabled and namespaces are enabled, 
we should create a new test category.

If not, then please create a new intermediate base class with only the 
doTeardown method so that we don't have to remember to keep copy/pasting that 
to these classes. Then just derive existing tests that do this from the new 
base class.

> Statistics collection broken if name space mapping enabled for SYSTEM tables
> ----------------------------------------------------------------------------
>
>                 Key: PHOENIX-3461
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3461
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Samarth Jain
>            Assignee: Samarth Jain
>             Fix For: 4.9.0
>
>         Attachments: PHOENIX-3461-v3.patch, PHOENIX-3461_master.patch, 
> PHOENIX-3461_v2.patch, PHOENIX-3461_v4.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to