Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Jul 6, 2021

The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. We mostly fixed
them in #74750 by replacing equalTo(1) with greaterThanOrEqualTo(1).
But we missed a spot. In all fairness, we ran the test a couple thousand
times and it didn't fail. But letting the ES build chew on it gets many
many many thousands of executions over a month. So it found the spot.
This performs one additional equalTo(1) to greaterThanOrEqualTo(1)
replacement.

Closes #74936

@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests :Analytics/Aggregations Aggregations v8.0.0 v7.14.1 v7.15.0 labels Jul 6, 2021
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jul 6, 2021
@elasticmachine
Copy link
Collaborator

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

The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. We mostly fixed
them in elastic#74750 by replacing `equalTo(1)` with `greaterThanOrEqualTo(1)`.
But we missed a spot. In all fairness, we ran the test a couple thousand
times and it didn't fail. But letting the ES build chew on it gets many
many many thousands of executions over a month. So it found the spot.
This performs one additional `equalTo(1)` to `greaterThanOrEqualTo(1)`
replacement.

Closes elastic#74936
@nik9000 nik9000 added auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jul 6, 2021
@nik9000 nik9000 merged commit cbcc219 into elastic:master Jul 6, 2021
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 6, 2021
The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. We mostly fixed
them in elastic#74750 by replacing `equalTo(1)` with `greaterThanOrEqualTo(1)`.
But we missed a spot. In all fairness, we ran the test a couple thousand
times and it didn't fail. But letting the ES build chew on it gets many
many many thousands of executions over a month. So it found the spot.
This performs one additional `equalTo(1)` to `greaterThanOrEqualTo(1)`
replacement.

Closes elastic#74936
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 6, 2021
The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. We mostly fixed
them in elastic#74750 by replacing `equalTo(1)` with `greaterThanOrEqualTo(1)`.
But we missed a spot. In all fairness, we ran the test a couple thousand
times and it didn't fail. But letting the ES build chew on it gets many
many many thousands of executions over a month. So it found the spot.
This performs one additional `equalTo(1)` to `greaterThanOrEqualTo(1)`
replacement.

Closes elastic#74936
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
7.14
7.x

nik9000 added a commit that referenced this pull request Jul 7, 2021
The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. We mostly fixed
them in #74750 by replacing `equalTo(1)` with `greaterThanOrEqualTo(1)`.
But we missed a spot. In all fairness, we ran the test a couple thousand
times and it didn't fail. But letting the ES build chew on it gets many
many many thousands of executions over a month. So it found the spot.
This performs one additional `equalTo(1)` to `greaterThanOrEqualTo(1)`
replacement.

Closes #74936

Co-authored-by: Nik Everett <[email protected]>
nik9000 added a commit that referenced this pull request Jul 7, 2021
The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. We mostly fixed
them in #74750 by replacing `equalTo(1)` with `greaterThanOrEqualTo(1)`.
But we missed a spot. In all fairness, we ran the test a couple thousand
times and it didn't fail. But letting the ES build chew on it gets many
many many thousands of executions over a month. So it found the spot.
This performs one additional `equalTo(1)` to `greaterThanOrEqualTo(1)`
replacement.

Closes #74936

Co-authored-by: Nik Everett <[email protected]>
@probakowski
Copy link
Contributor

@nik9000 I removed backport pending labels as it seems that all backports are done, please add it back if needed

@nik9000
Copy link
Member Author

nik9000 commented Jul 8, 2021

@nik9000 I removed backport pending labels as it seems that all backports are done, please add it back if needed

Thanks! Sorry I'd left them. I'm not used to the new PR backporting bot yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v7.14.0 v7.15.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] FiltersAggregatorTests testMatchAll failing

5 participants