hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1276) [testing] Upgrade to JUnit 4.x and use @BeforeClass annotations to optimize tests
Date Wed, 14 Oct 2009 20:08:31 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

stack resolved HBASE-1276.

    Resolution: Fixed
      Assignee: stack

I just did some messing around with junit4.  We can put junit4 tests into our current test
hierarchy and they are run out of ant in betwixt current tests.  The BeforeClass and AfterClass
is sweet.  I'm going to now start working on converting over a bunch of our tests to use this
stuff as part of another issue about speeding up unit tests.  So, I'll just resolve this now....

> [testing] Upgrade to JUnit 4.x and use @BeforeClass annotations to optimize tests
> ---------------------------------------------------------------------------------
>                 Key: HBASE-1276
>                 URL: https://issues.apache.org/jira/browse/HBASE-1276
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: ryan rawson
>            Assignee: stack
>             Fix For: 0.21.0
> If we upgrade to JUnit 4.x we can get access to @BeforeClass annotations... that allows
us to start up DFS & Hbase only once per test class.  This should improve the speed of
our unit tests substantially.
> We will also need an ability to reset the hbase state between tests however.  Drop all
tables for example.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message