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

TestDrainingServer is an integration test. It should be a unit test instead

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.95.2
    • 0.98.0, 0.96.0
    • test
    • None
    • Reviewed

    Description

      TestDrainingServer tests the function that allows to say that a regionserver should not get new regions.

      As it is written today, it's an integration test: it starts & stops a cluster.

      The test would be more efficient if it would just check that the AssignmentManager does not use the drained region server; whatever the circumstances (bulk assign or not for example).

      Attachments

        1. HBASE-7462-v2.patch
          24 kB
          Gustavo Anatoly
        2. 7462.v3.patch
          23 kB
          Nicolas Liochon

        Activity

          People

            gustavoanatoly Gustavo Anatoly
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: