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

Fix randomization in testPerformActionAttrsRequestFails #43304

Merged

Conversation

gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Jun 17, 2019

The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.

Fixes #42932

The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@gwbrown
Copy link
Contributor Author

gwbrown commented Jun 18, 2019

The test failure is #43342

@elasticmachine update branch

@gwbrown
Copy link
Contributor Author

gwbrown commented Jun 18, 2019

@elasticmachine update branch

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Gordon!

@gwbrown gwbrown merged commit 3b022bb into elastic:master Jun 18, 2019
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Jun 18, 2019
The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Jun 18, 2019
The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Jun 18, 2019
The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
gwbrown added a commit that referenced this pull request Jun 19, 2019
The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
gwbrown added a commit that referenced this pull request Jun 19, 2019
The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
gwbrown added a commit that referenced this pull request Jun 19, 2019
The randomization in this test would occasionally generate duplicate
node attribute keys, causing spurious test failures. This commit adjusts
the randomization to not generate duplicate keys and cleans up the data
structure used to hold the generated keys.
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.

SetSingleNodeAllocateStepTests.testPerformActionAttrsRequestFails failure
4 participants