Skip to content

Conversation

@probakowski
Copy link
Contributor

This change fixes failing ActionConfigStatsTests.testEqualsAndHashcode by making sure we use different shrink number of shards after mutation.

Closes #74817

@probakowski probakowski added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management v8.0.0 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged v7.14.1 v7.15.0 labels Jul 1, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jul 1, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@probakowski probakowski removed the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jul 1, 2021
Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @probakowski

I think we can use the randomValueOtherThan method (note that the suggestion might fail formatting)

Co-authored-by: Andrei Dan <[email protected]>
@probakowski
Copy link
Contributor Author

@elasticmachine update branch

@probakowski probakowski merged commit 90c98e1 into elastic:master Jul 5, 2021
@probakowski probakowski deleted the fix_74817 branch July 5, 2021 11:05
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 5, 2021
This change fixes failing ActionConfigStatsTests.testEqualsAndHashcode by making sure we use different shrink number of shards after mutation.

Closes elastic#74817
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
7.14 Commit could not be cherrypicked due to conflicts
7.x

To backport manually run:
backport --pr 74849

probakowski added a commit to probakowski/elasticsearch that referenced this pull request Jul 5, 2021
Additional fixes for `ActionConfigStatsTests.testEqualsAndHashcode`

Relates to elastic#74849
elasticsearchmachine added a commit that referenced this pull request Jul 5, 2021
This change fixes failing ActionConfigStatsTests.testEqualsAndHashcode by making sure we use different shrink number of shards after mutation.

Closes #74817

Co-authored-by: Przemko Robakowski <[email protected]>
probakowski added a commit that referenced this pull request Jul 5, 2021
Additional fixes for `ActionConfigStatsTests.testEqualsAndHashcode`

Relates to #74849
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 5, 2021
Additional fixes for `ActionConfigStatsTests.testEqualsAndHashcode`

Relates to elastic#74849
elasticsearchmachine added a commit that referenced this pull request Jul 5, 2021
Additional fixes for `ActionConfigStatsTests.testEqualsAndHashcode`

Relates to #74849

Co-authored-by: Przemko Robakowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v7.15.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ActionConfigStatsTests testEqualsAndHashcode failing

5 participants