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

Istvan Toth commented on PHOENIX-6029:
--------------------------------------

You are on the right track about needing to reduce time spent in connection 
setup and teardown for the speedup.

However, instead of consolidating all the simple test runs into a single test, 
I'd rather split them into a new class, keep them as separate tests, but use a 
single connection that is set up in a @BeforeClass and torn down in 
@AfterClass, and refactor the TENANCIES logic to use @Parameters instead.

It would net the same savings in execution time, but would keep keep the 
structure more intact and the test output more readable.

> Merge InListIT tests to reduce runtime
> --------------------------------------
>
>                 Key: PHOENIX-6029
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6029
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: Richard Antal
>            Assignee: Richard Antal
>            Priority: Major
>         Attachments: PHOENIX-6029.master.v1.patch
>
>
> InListIT is one of the slowest tests.
> In my opinion we could reduce the time it takes to run it if we merge 
> multiple similar tests, because we create lot of connection, and do the same 
> initialisation in every test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to