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

Unit tests for Range and DateRange aggs #52380

Merged
merged 4 commits into from
Feb 19, 2020

Conversation

not-napoleon
Copy link
Member

This PR just adds a bit more test coverage for things I'm going to be touching in the VS refactor soon.

@elasticmachine
Copy link
Collaborator

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

@not-napoleon
Copy link
Member Author

@elasticmachine run elasticsearch-ci/2

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

LGTM!

private void testBothResolutions(Query query,
CheckedConsumer<RandomIndexWriter, IOException> buildIndex,
Consumer<InternalRange<? extends InternalRange.Bucket, ? extends InternalRange>> verify)
throws IOException {
Copy link
Member

Choose a reason for hiding this comment

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

This line looks like it has kind of funny indentation.

@not-napoleon not-napoleon merged commit 85fa2bd into elastic:master Feb 19, 2020
@not-napoleon not-napoleon deleted the range-unit-tests branch February 19, 2020 13:37
sbourke pushed a commit to sbourke/elasticsearch that referenced this pull request Feb 19, 2020
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Mar 30, 2020
@not-napoleon not-napoleon added >test Issues or PRs that are addressing/adding tests v7.8.0 labels Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >non-issue >test Issues or PRs that are addressing/adding tests v7.8.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants