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

Refactor IntegrationTestManyRegions to use @ClassRule for timing out

    XMLWordPrintableJSON

Details

    Description

      IntegrationTestManyRegions verifies that many regions get assigned within given time. To do so, it spawns a new thread and uses CountDownLatch.await() to timeout. Replacing this mechanism with junit @ClassRule to timeout the test.

      Attachments

        1. HBASE-17004.master.002.patch
          9 kB
          Apekshit Sharma
        2. HBASE-17004.master.001.patch
          8 kB
          Apekshit Sharma

        Activity

          People

            appy Apekshit Sharma
            appy Apekshit Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: