Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18110 [AMv2] Reenable tests temporarily disabled
  3. HBASE-19556

Remove TestAssignmentManager#testGoodSplit, which no longer make sense

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-beta-1, 2.0.0
    • None
    • None
    • Reviewed

    Description

      [ERROR] testGoodSplit(org.apache.hadoop.hbase.master.assignment.TestAssignmentManager) Time elapsed: 0.478 s <<< ERROR!
      java.io.IOException: 5a50732f7cb3a05dd3a297bacbc34943 NOT splittable

      GoodSplitExecutor can only mock some functions in RSProcedureDispatcher, however, to test split, we need to create(or mock) a real table on region server side. And GoodSplitExecutor can not mock those kinds of function.

      And, similar test has already been covered in TestSplitTableRegionProcedure, we no longer need to test it again in TestAssignmentManager

      Attachments

        Activity

          People

            easyliangjob Yi Liang
            easyliangjob Yi Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: