Skip to content

Conversation

@andyb-elastic
Copy link
Contributor

Adds tests for supported ValuesSourceTypes, unmapped fields, scripting,
and the missing param. The tests for unmapped fields and scripting are
migrated from the StatsIT integration test

Adds tests for supported ValuesSourceTypes, unmapped fields, scripting,
and the missing param. The tests for unmapped fields and scripting are
migrated from the StatsIT integration test
@andyb-elastic andyb-elastic added >test Issues or PRs that are addressing/adding tests :Analytics/Aggregations Aggregations v8.0.0 labels Mar 18, 2020
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@polyfractal polyfractal left a comment

Choose a reason for hiding this comment

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

Left a comment about AbstractNumericTestCase but otherwise LGTM! <3

assertThat(Double.isNaN(stats.getAvg()), is(true));
}

/** this test was moved to {@link StatsAggregatorTests#testUnmapped()} */
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, how about making these non-abstract in AbstractNumericTestCase, that way we can just delete them entirely? I don't think we'll be extending AbstractNumericTestCase anymore in the future and it will eventually go away, so probably ok to have concrete "no-op" implementations to make the transition time cleaner.

WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like it 👍

@andyb-elastic andyb-elastic merged commit 408311d into elastic:master Mar 24, 2020
andyb-elastic added a commit to andyb-elastic/elasticsearch that referenced this pull request Apr 1, 2020
Adds tests for supported ValuesSourceTypes, unmapped fields, scripting,
and the missing param. The tests for unmapped fields and scripting are
migrated from the StatsIT integration test
andyb-elastic added a commit that referenced this pull request Apr 2, 2020
Adds tests for supported ValuesSourceTypes, unmapped fields, scripting,
and the missing param. The tests for unmapped fields and scripting are
migrated from the StatsIT integration test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations >test Issues or PRs that are addressing/adding tests v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants