Apache9 commented on code in PR #8342:
URL: https://github.com/apache/hbase/pull/8342#discussion_r3402675877


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionMover2.java:
##########
@@ -112,23 +119,36 @@ public void testWithMergedRegions() throws Exception {
     table.put(puts);
     admin.flush(tableName);
     HRegionServer regionServer = cluster.getRegionServer(0);
+    RegionInfo regionA = 
regionServer.getRegions(tableName).get(0).getRegionInfo();

Review Comment:
   Not likely but OK, let me make it more robust, there is also possible that 
the region server does not contain any regions of this table, let me deal with 
it too.



-- 
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]

Reply via email to