Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
nik9000 committed Sep 26, 2023
1 parent 15735e0 commit eec33df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public Block.Builder mvOrdering(MvOrdering mvOrdering) {

@Override
public DocBlock build() {
// Pass null for singleSegmentNonDecreasing so we 1calculate it when we first need it.
// Pass null for singleSegmentNonDecreasing so we calculate it when we first need it.
return new DocVector(shards.build(), segments.build(), docs.build(), null).asBlock();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ protected ByteSizeValue smallEnoughToCircuitBreak() {
* 775 causes us to blow up while collecting values and 780 doesn't
* trip the breaker. So 775 is the max on this range.
*/
return ByteSizeValue.ofBytes(775);
return ByteSizeValue.ofBytes(between(1, 775));
}

public void testRamBytesUsed() {
Expand Down

0 comments on commit eec33df

Please sign in to comment.