Skip to content

Add REST tests for avg/min/max/sum metric aggs #26225

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

Merged
merged 2 commits into from
Aug 16, 2017

Conversation

polyfractal
Copy link
Contributor

Adds some REST tests for avg/min/max/sum metric aggregations.

Related to #26220

@polyfractal polyfractal added review >test Issues or PRs that are addressing/adding tests labels Aug 15, 2017
type : double
string_field:
type: keyword
- do:
Copy link
Member

Choose a reason for hiding this comment

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

I think we get this for free as part of creating the index now.

wait_for_status: green

- do:
index:
Copy link
Member

Choose a reason for hiding this comment

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

I'd do these as a _bulk instead just as a matter of habit. It'll be marginally faster and shorter to read.

@polyfractal
Copy link
Contributor Author

Thanks @nik9000 :)

@polyfractal polyfractal merged commit 2978b5d into elastic:master Aug 16, 2017
polyfractal added a commit that referenced this pull request Aug 16, 2017
Adds some REST tests for avg/min/max/sum metric aggregations

Related to #26220
polyfractal added a commit that referenced this pull request Aug 16, 2017
Adds some REST tests for avg/min/max/sum metric aggregations

Related to #26220
@lcawl lcawl removed the v6.1.0 label Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v6.0.0-beta2 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants