huaxiangsun commented on a change in pull request #1734: URL: https://github.com/apache/hbase/pull/1734#discussion_r426932197
########## File path: hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java ########## @@ -1519,6 +1519,17 @@ public Table createMultiRegionTable(TableName tableName, byte[][] families) thro return createTable(tableName, families, KEYS_FOR_HBA_CREATE_TABLE); } + /** + * Create a table with multiple regions. + * @param tableName + * @param families + * @return A Table instance for the created table. + * @throws IOException + */ + public Table createMultiRegionTable(TableName tableName, byte[][] families, final byte[][] keys) throws IOException { Review comment: I need an API which I can pass a set of keys (not predefined ones) so I can use it to test a specific set of split keys. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org