HBASE-11839 TestRegionRebalance is flakey
This commit is contained in:
parent
b0e841d2c3
commit
d10b9e3a21
|
@ -829,7 +829,7 @@ public class RegionStates {
|
|||
Set<HRegionInfo> regions = e.getValue();
|
||||
ServerName serverName = e.getKey();
|
||||
int regionCount = regions.size();
|
||||
if (regionCount > 0 || serverManager.isServerOnline(serverName)) {
|
||||
if (serverManager.isServerOnline(serverName)) {
|
||||
totalLoad += regionCount;
|
||||
numServers++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue