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

Make agg test less confusing #63952

Merged
merged 1 commit into from
Oct 20, 2020
Merged

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Oct 20, 2020

We have an @After annotated method in AggregatorTestCase that cleans
up releasibles. But it was private! Confusingly, it seemed to be
working! I'm not sure why. This makes it public which is a little more
sensible.

@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests :Analytics/Aggregations Aggregations v8.0.0 v7.11.0 labels Oct 20, 2020
@nik9000 nik9000 requested a review from javanna October 20, 2020 17:14
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 20, 2020
We have an `@After` annotated method in `AggregatorTestCase` that cleans
up releasibles. But it was `private`! Confusingly, it seemed to be
working! I'm not sure why. This makes it public which is a little more
sensible.
@nik9000
Copy link
Member Author

nik9000 commented Oct 20, 2020

I'm not really sure how this worked before. But this makes a little more sense.

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

making it public certainly makes sense! that it worked when it was private, that I really don't understand.

@polyfractal
Copy link
Contributor

image I have no idea how that worked before either... did it? I have no idea. Good catch :)

@nik9000
Copy link
Member Author

nik9000 commented Oct 20, 2020

image I have no idea how that worked before either... did it? I have no idea. Good catch :)

It was working, yeah. @javanna found it and sent it my way. Is weird.

@nik9000 nik9000 merged commit 1e82747 into elastic:master Oct 20, 2020
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Oct 20, 2020
We have an `@After` annotated method in `AggregatorTestCase` that cleans
up releasibles. But it was `private`! Confusingly, it seemed to be
working! I'm not sure why. This makes it public which is a little more
sensible.
nik9000 added a commit that referenced this pull request Oct 20, 2020
We have an `@After` annotated method in `AggregatorTestCase` that cleans
up releasibles. But it was `private`! Confusingly, it seemed to be
working! I'm not sure why. This makes it public which is a little more
sensible.
pugnascotia pushed a commit to pugnascotia/elasticsearch that referenced this pull request Oct 21, 2020
We have an `@After` annotated method in `AggregatorTestCase` that cleans
up releasibles. But it was `private`! Confusingly, it seemed to be
working! I'm not sure why. This makes it public which is a little more
sensible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants