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

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

Ran it on my Mac laptop and it hung with a value of numForkedUT=5, but if I 
lowered it to 3, it completed fine. It took 35min, while it usually takes 2x 
that, so that's a nice improvement. If you can get the version working that 
doesn't spin a mini cluster up and down, will it be compatible with this? Would 
these tests be able to be run in parallel?

This definitely seems like a good incremental improvement, so I'm +1. I'll 
apply all patches together when you have them ready.

Thanks, [~samarthjain] - nice work!

> 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_master.patch, 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