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

Refactor GeoShape tests to GeoShape and GeoPoint #50737

Merged
merged 23 commits into from
Jan 27, 2020

Conversation

djptek
Copy link
Contributor

@djptek djptek commented Jan 8, 2020

Refactor of GeoShape tests to separate GeoShape and GeoPoint as preliminary step prior to implementing #48928

Added new methods to avoid duplicate code for mapping creation

All existing tests passed post refactor in org.elasticsearch.search.geo.*

New placeholder test in GeoPointShapeQueryTests is non-failing pending 48928

Note commit 24b9535 has been reset by d7f2218 this will be reincorporated as part of 48928

@djptek djptek requested a review from iverase January 8, 2020 12:12
@dliappis dliappis added the :Analytics/Geo Indexing, search aggregations of geo points and shapes label Jan 8, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Geo)

@iverase iverase added :Delivery/Build Build or test infrastructure >test Issues or PRs that are addressing/adding tests labels Jan 8, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@iverase iverase removed the :Delivery/Build Build or test infrastructure label Jan 8, 2020
Copy link
Contributor

@iverase iverase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that this PR wants to pave the way to support geo_shape queries with geo_point fields. Should be the tests on points part of the abstract class?

@djptek djptek requested a review from iverase January 10, 2020 12:05
@iverase
Copy link
Contributor

iverase commented Jan 24, 2020

That is looking good. Could you resolve conflicts some can see if test passes.

djptek added 3 commits January 24, 2020 14:31
GeoShapeQueryTests refactored adding superclass and sibling to accomodate new test coverage as part of adaptation of geo_shape query to work on geo_point fields
@iverase
Copy link
Contributor

iverase commented Jan 24, 2020

@elasticmachine run elasticsearch-ci/2

Copy link
Contributor

@iverase iverase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@djptek djptek merged commit dd409e1 into elastic:master Jan 27, 2020
djptek added a commit to djptek-legacy/elasticsearch that referenced this pull request Jan 30, 2020
djptek added a commit that referenced this pull request Jan 31, 2020
* Refactor GeoShape tests to GeoShape and GeoPoint (#50737)

Backport to 7.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Geo Indexing, search aggregations of geo points and shapes >test Issues or PRs that are addressing/adding tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants