Skip to content

Fix ActionConfigStatsTests.testEqualsAndHashcode#74849

Merged
probakowski merged 3 commits intoelastic:masterfrom
probakowski:fix_74817
Jul 5, 2021
Merged

Fix ActionConfigStatsTests.testEqualsAndHashcode#74849
probakowski merged 3 commits intoelastic:masterfrom
probakowski:fix_74817

Conversation

@probakowski
Copy link
Copy Markdown
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 DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. 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 (obsolete) DO NOT USE. This team no longer exists. label Jul 1, 2021
@elasticmachine
Copy link
Copy Markdown
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
Copy Markdown
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 <andrei.dan@elastic.co>
@probakowski
Copy link
Copy Markdown
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
Copy Markdown
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 <przemko.robakowski@elastic.co>
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 <przemko.robakowski@elastic.co>
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 DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. >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