Skip to content

Commit

Permalink
HBASE-28126 Update MaxNumberOfRegionsCount in TestSimpleRegionNormali…
Browse files Browse the repository at this point in the history
…zer (#5446)

Signed-off-by: Wellington Chevreuil <[email protected]>
  • Loading branch information
petersomogyi authored Oct 3, 2023
1 parent 076b5fb commit 3bf3b96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public void testHonorsMergeRequestMaxNumberOfRegionsCountDefault() {
final List<RegionInfo> regionInfos = createRegionInfos(tableName, 3);
final Map<byte[], Integer> regionSizes = createRegionSizesMap(regionInfos, 0, 0, 0);
setupMocksForNormalizer(regionSizes, regionInfos);
assertEquals(50, normalizer.getMergeRequestMaxNumberOfRegionsCount());
assertEquals(100, normalizer.getMergeRequestMaxNumberOfRegionsCount());
List<NormalizationPlan> plans = normalizer.computePlansForTable(tableDescriptor);
assertThat(plans, contains(new MergeNormalizationPlan.Builder().addTarget(regionInfos.get(0), 0)
.addTarget(regionInfos.get(1), 0).addTarget(regionInfos.get(2), 0).build()));
Expand Down

0 comments on commit 3bf3b96

Please sign in to comment.