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

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2.0, 2.0.0
    • Fix Version/s: 1.1.0, 2.0.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: