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();
|
Set<HRegionInfo> regions = e.getValue();
|
||||||
ServerName serverName = e.getKey();
|
ServerName serverName = e.getKey();
|
||||||
int regionCount = regions.size();
|
int regionCount = regions.size();
|
||||||
if (regionCount > 0 || serverManager.isServerOnline(serverName)) {
|
if (serverManager.isServerOnline(serverName)) {
|
||||||
totalLoad += regionCount;
|
totalLoad += regionCount;
|
||||||
numServers++;
|
numServers++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue