hbase-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/HBASE-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711025#action_12711025

stack commented on HBASE-1276:

It also has facility where you can ask it to expect that a section of code throws a particular
exception (from Guilherme).

> 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
>            Reporter: ryan rawson
> 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