Amend HBASE-21439 RegionLoads aren't being used in RegionLoad cost functions
Addendum: Update RSGroup Test too Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
13b68abb58
commit
7c5e200229
|
@ -88,7 +88,7 @@ public class TestRSGroupBasedLoadBalancerWithStochasticLoadBalancerAsInternal
|
|||
when(rl.getWriteRequestCount()).thenReturn(0L);
|
||||
when(rl.getMemStoreSize()).thenReturn(Size.ZERO);
|
||||
when(rl.getStoreFileSize()).thenReturn(Size.ZERO);
|
||||
regionLoadMap.put(info.getEncodedNameAsBytes(), rl);
|
||||
regionLoadMap.put(info.getRegionName(), rl);
|
||||
}
|
||||
when(serverMetrics.getRegionMetrics()).thenReturn(regionLoadMap);
|
||||
return serverMetrics;
|
||||
|
|
Loading…
Reference in New Issue