Skip to content

Commit c015b30

Browse files
committed
Fix minimum bucket count
1 parent 21b0e62 commit c015b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/exponential-histogram/src/test/java/org/elasticsearch/exponentialhistogram/ExponentialHistogramUtilsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void testMinimumEstimation() {
9191
int positiveValueCount = randomBoolean() ? 0 : randomIntBetween(10, 10_000);
9292
int negativeValueCount = randomBoolean() ? 0 : randomIntBetween(10, 10_000);
9393
int zeroValueCount = randomBoolean() ? 0 : randomIntBetween(10, 100);
94-
int bucketCount = randomIntBetween(2, 500);
94+
int bucketCount = randomIntBetween(4, 500);
9595

9696
double correctMin = Double.MAX_VALUE;
9797
double zeroThreshold = Double.MAX_VALUE;

0 commit comments

Comments
 (0)