chaijunjie0101 commented on code in PR #8519:
URL: https://github.com/apache/hbase/pull/8519#discussion_r3700966896
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsFallback.java:
##########
@@ -93,10 +94,12 @@ public void testFallback() throws Exception {
// server of test group crash, regions move to default group
crashRsInGroup(groupName);
assertRegionsInGroup(tableName, RSGroupInfo.DEFAULT_GROUP);
+ assertEquals(0, MASTER.balance().getMovesCalculated());
// server of default group crash, regions move to any other group
crashRsInGroup(RSGroupInfo.DEFAULT_GROUP);
assertRegionsInGroup(tableName, FALLBACK_GROUP);
+ assertEquals(0, MASTER.balance().getMovesCalculated());
Review Comment:
maybe we need trigger balancer once before we check the balance plan,
because the default balance is scheduled
--
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]