Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1276

[testing] Upgrade to JUnit 4.x and use @BeforeClass annotations to optimize tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.90.0
    • test
    • None

    Description

      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.

      Attachments

        Activity

          People

            stack Michael Stack
            ryanobjc ryan rawson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: