Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] testGeoHexGridBucket fails with max precision of 15 #629

Open
ryanbogan opened this issue Feb 15, 2024 · 0 comments
Open

[BUG] testGeoHexGridBucket fails with max precision of 15 #629

ryanbogan opened this issue Feb 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ryanbogan
Copy link
Member

What is the bug?
testGeoHexGridBucket fails with max precision of 15

java.lang.AssertionError: expected:<{8ff158335473599=1, 8fc0414ecb699a1=1, 8f0326233ab0399=1, 8f754e64992d6d8=1, 8f17a334511d540=1}> but was:<{8fc0414ecb699a1=1, 8f0326233ab0399=1, 8ff15833547359d=1, 8f754e64992d6d8=1, 8f17a334511d540=1}>

        at __randomizedtesting.SeedInfo.seed([D7F4A6450A06B236:1529CE8517271E9E]:0)

        at org.junit.Assert.fail(Assert.java:89)

        at org.junit.Assert.failNotEquals(Assert.java:835)

        at org.junit.Assert.assertEquals(Assert.java:120)

        at org.junit.Assert.assertEquals(Assert.java:146)

        at org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.testGeoHexGridBucket(GeoHexAggregationIT.java:105)

How can one reproduce the bug?
Steps to reproduce the behavior:

./gradlew ':integTest' --tests "org.opensearch.geospatial.search.aggregations.bucket.geogrid.GeoHexAggregationIT.testGeoHexGridBucket" -Dtests.seed=D7F4A6450A06B236 -Dtests.security.manager=false

What is the expected behavior?
Test should pass with precision set to 15

@ryanbogan ryanbogan added bug Something isn't working untriaged labels Feb 15, 2024
@vamshin vamshin removed the untriaged label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants