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

TestChoreService has to make sure that the opened ChoreService is closed for each unit test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.1.0, 1.2.0, 2.0.0
    • 1.1.0, 2.0.0
    • None
    • Reviewed

    Description

      The TestChoreService shut down the opened ChoreService after each individual unit test. This is to avoid test failure with enormous amount of active threads at the end of test on slow virtual host (see HBASE-12992). However, the service shut down was not wrapped around the 'finally'-block to guarantee the execution when exception throws. The fix is trial.

      Attachments

        1. HBASE-13575.v1-master.patch
          33 kB
          Stephen Yuan Jiang

        Activity

          People

            syuanjiang Stephen Yuan Jiang
            syuanjiang Stephen Yuan Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: