From 4e4abb07d38a67da60432527eebf53c3c1232e8f Mon Sep 17 00:00:00 2001 From: iverase Date: Mon, 23 Oct 2023 17:46:15 +0200 Subject: [PATCH] fix precision --- .../aggregations/bucket/geogrid/GeoGridAggregatorTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoGridAggregatorTestCase.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoGridAggregatorTestCase.java index b1b5b2a2b1476..1bdc39fdc8e5f 100644 --- a/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoGridAggregatorTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoGridAggregatorTestCase.java @@ -200,7 +200,7 @@ public void testMultiValuedDocsAsSubAgg() throws IOException { public void testBoundedMultiValuedDocsAsSubAgg() throws IOException { int precision = randomPrecision(); - testWithSeveralDocsAsSubAgg(LuceneTestCase::rarely, randomBBox(precision), randomPrecision()); + testWithSeveralDocsAsSubAgg(LuceneTestCase::rarely, randomBBox(precision), precision); } private void testWithSeveralDocsAsSubAgg(BooleanSupplier supplier, GeoBoundingBox bbox, int precision) throws IOException {