phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2822) Tests that extend BaseHBaseManagedTimeIT are very slow
Date Tue, 12 Apr 2016 20:20:25 GMT

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

Hudson commented on PHOENIX-2822:
---------------------------------

SUCCESS: Integrated in Phoenix-master #1192 (See [https://builds.apache.org/job/Phoenix-master/1192/])
PHOENIX-2822 Addendum to fix failing tests (Rahul Gidwani) (samarth: rev 0490484b022fd8218e52d6d72858192ef3c59441)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/HBaseManagedTimeTableReuseTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/LikeExpressionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseHBaseManagedTimeTableReuseIT.java
* pom.xml
* phoenix-core/src/it/java/org/apache/phoenix/end2end/HBaseManagedTimeTest.java


> Tests that extend BaseHBaseManagedTimeIT are very slow
> ------------------------------------------------------
>
>                 Key: PHOENIX-2822
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2822
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.8.0
>            Reporter: churro morales
>            Assignee: churro morales
>              Labels: HBASEDEPENDENCIES
>         Attachments: PHOENIX-2822-98.patch, PHOENIX-2822.addendum, PHOENIX-2822.addendum-v1.patch,
PHOENIX-2822.patch
>
>
> Since I am trying to refactor out all the hbase private dependencies, I have to constantly
run tests to make sure I didn't break anything.  The tests that extend BaseHBaseManagedTimeIT
are very slow as they have to delete all non-system tables after every test case.  This takes
around 5-10 seconds to accomplish.  This adds significant time to the test suite. 
> I created a new class named: BaseHBaseManagedTimeTableReuseIT and it creates a random
table name such that we dont have collisions for tests.  It also doesn't do any cleanup after
each test case or class because these table names should be unique.  I moved about 30-35 tests
out from BaseHBaseManagedTimeIT to BaseHBaseManagedTimeTableReuseIT and it significantly improved
the overall time it takes to run tests.



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

Mime
View raw message