NihalJain commented on code in PR #6186:
URL: https://github.com/apache/hbase/pull/6186#discussion_r1770838887
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSplitOrMergeAtTableLevel.java:
##########
@@ -157,15 +157,17 @@ private void trySplitAndEnsureItFails(final TableName
tableName) throws Exceptio
List<RegionInfo> regions = admin.getRegions(tableName);
int originalCount = regions.size();
- // split the table and make sure region count does not increase
- Future<?> f =
admin.splitRegionAsync(regions.get(0).getEncodedNameAsBytes(),
Bytes.toBytes(2));
try {
+ // split the table and make sure region count does not increase
+ Future<?> f =
Review Comment:
Thank you @Apache9 for the heads up.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]