You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Yi Liang (JIRA)" <ji...@apache.org> on 2017/12/19 19:31:00 UTC
[jira] [Created] (HBASE-19556) Remove
TestAssignmentManager#testGoodSplit, which no longer make sense
Yi Liang created HBASE-19556:
--------------------------------
Summary: Remove TestAssignmentManager#testGoodSplit, which no longer make sense
Key: HBASE-19556
URL: https://issues.apache.org/jira/browse/HBASE-19556
Project: HBase
Issue Type: Bug
Reporter: Yi Liang
Assignee: Yi Liang
Priority: Minor
{quote}
[ERROR] testGoodSplit(org.apache.hadoop.hbase.master.assignment.TestAssignmentManager) Time elapsed: 0.478 s <<< ERROR!
java.io.IOException: 5a50732f7cb3a05dd3a297bacbc34943 NOT splittable
{quote}
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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)