[
https://issues.apache.org/jira/browse/PHOENIX-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981466#comment-13981466
]
Samarth Jain edited comment on PHOENIX-674 at 4/25/14 7:13 PM:
---------------------------------------------------------------
Attaching patches for 3.0, 4.0 and master branches. The master.patch file
should work both for 4.0 and master. I have also dialed down the number of
forked unit tests to 3.
[~jamestaylor] - this change will be compatible with removing the need of
having to spin up and down a mini cluster for every test suite.
was (Author: samarthjain):
Attaching patches for 3.0, 4.0 and master branches. The master.patch file
should work both for 4.0 and master. I have also dialed down the number of
forked unit tests to 3.
> 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: 3.0.patch, fasttests_v1.patch, master.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)