Skip to content

Fix aggs test failures (backport of #74750) #74774

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 3 commits into from
Jun 30, 2021

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Jun 30, 2021

The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. They asserted
that the indices contained only a single segment which is usually
true, but our test randomization framework sometimes emit many segmented
indices, just to exercise the code. That's a good thing. But the tests
had a wrong assertion. This swaps the assertion from equalTo(1) to
greaterThanOrEqualTo(1).

Closes #74677

The tests for the debugging information in the filters aggregation where
too specific for the kind of randomization we run with. They asserted
that the indices contained only a single segment which is *usually*
true, but our test randomization framework sometimes emit many segmented
indices, just to exercise the code. That's a good thing. But the tests
had a wrong assertion. This swaps the assertion from `equalTo(1)` to
`greaterThanOrEqualTo(1)`.

Closes elastic#74677
@nik9000
Copy link
Member Author

nik9000 commented Jun 30, 2021

@elasticmachine, update branch

@nik9000
Copy link
Member Author

nik9000 commented Jun 30, 2021

@elasticmachine merge upstream

@nik9000
Copy link
Member Author

nik9000 commented Jun 30, 2021

runelasticsearch-ci/docs

@nik9000
Copy link
Member Author

nik9000 commented Jun 30, 2021

run elasticsearch-ci/docs

@nik9000
Copy link
Member Author

nik9000 commented Jun 30, 2021

@elasticmachine merge upstream

@nik9000
Copy link
Member Author

nik9000 commented Jun 30, 2021

run elasticsearch-ci/docs

@nik9000 nik9000 merged commit 8d7bb6d into elastic:7.x Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants