-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Replace Agg integration tests with AggregatorTestCase #42893
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
Labels
:Analytics/Aggregations
Aggregations
Meta
>refactoring
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
>tech debt
>test
Issues or PRs that are addressing/adding tests
Comments
Pinging @elastic/es-analytics-geo |
This was referenced Jun 21, 2019
csoulios
added a commit
to csoulios/elasticsearch
that referenced
this issue
Jul 11, 2019
…astic#44076) This PR migrates most tests from AvgIT integration test to AvgAggregatorTests, as described in elastic#42893
csoulios
added a commit
that referenced
this issue
Jul 11, 2019
csoulios
added a commit
that referenced
this issue
Aug 20, 2019
This PR migrates tests from MaxIT integration test to MaxAggregatorTests, as described in #42893
csoulios
added a commit
to csoulios/elasticsearch
that referenced
this issue
Aug 20, 2019
This PR migrates tests from MaxIT integration test to MaxAggregatorTests, as described in elastic#42893
csoulios
added a commit
that referenced
this issue
Aug 20, 2019
This was referenced Jan 17, 2020
andyb-elastic
added a commit
to andyb-elastic/elasticsearch
that referenced
this issue
Mar 12, 2020
Move the remaining tests for the missing aggregation into its AggregatorTestCase out of its integration test and remove the IT For elastic#42893
salvatore-campagna
added a commit
that referenced
this issue
Dec 1, 2021
This PR migrates tests from CardinalityIT integration tests to CardinalityAggregatorTests, as described in #42893
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Analytics/Aggregations
Aggregations
Meta
>refactoring
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
>tech debt
>test
Issues or PRs that are addressing/adding tests
Uh oh!
There was an error while loading. Please reload this page.
Similar in spirit to #36015, but with the goal of removing unecessary metric/bucket agg IT. Unlike the pipeline aggs, it should be very straightforward to replace, and I think we can probably remove most of the existing
ESIntegTestCase
testsSome of these aggs do already have an
AggregatorTestCase
, so we should evaluate if the IT has something the unit test does not, migrate if possible and decide if the IT is useful otherwise.A quick skim shows a lot of the IT deal with scripts, unmapped fields, formatting, etc. It's not clear to me right now if we can test some of these (notably scripts) outside of an IT. So that might be a reason to keep the IT around.
Metrics
Bucket
The text was updated successfully, but these errors were encountered: