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

James Taylor commented on PHOENIX-674:
--------------------------------------

Please check this, [~samarthjain], as it may be the culprit:
bq. FYI, the setting of hbase.master.info.port property to -1 happens 
automatically if the connection URL contains test=true; which forces the 
PhoenixTestDriver to be used. We should update the non core tests to do this as 
well.

> Make unit test suite run faster
> -------------------------------
>
>                 Key: PHOENIX-674
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-674
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>            Assignee: Samarth Jain
>         Attachments: fasttests_v1.patch
>
>
> The main reason for the slowness is the time it takes to spin up and tear 
> down a mini cluster for each test suite. We do this to guarantee that there's 
> no left over state from previous tests.
> A few things we can do to improve things:
> * consolidate test suites where it makes sense, if there are just a few 
> strangler tests that can put combined with other test suites.
> * spin up  a single mini cluster and before a test suite runs, disable and 
> drop any hbase tables that exist.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to