Skip to content

Conversation

@dakrone
Copy link
Member

@dakrone dakrone commented Sep 30, 2019

These tests were using randomly generated includes/excludes/requires for
routing, however, it was possible to generate mutually exclusive
allocation settings (about 1 out of 50,000 times for my runs).

This splits the test into three different tests, and removes the
randomization (it doesn't add anything to the testing here) to fix the
issue.

Resolves #47142

These tests were using randomly generated includes/excludes/requires for
routing, however, it was possible to generate mutually exclusive
allocation settings (about 1 out of 50,000 times for my runs).

This splits the test into three different tests, and removes the
randomization (it doesn't add anything to the testing here) to fix the
issue.

Resolves elastic#47142
@dakrone dakrone added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management v8.0.0 v7.5.0 labels Sep 30, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@dakrone
Copy link
Member Author

dakrone commented Sep 30, 2019

@elasticmachine update branch

@dakrone dakrone requested a review from gwbrown September 30, 2019 20:40
Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

Left one minor comment about a variable name, otherwise LGTM

@dakrone
Copy link
Member Author

dakrone commented Oct 2, 2019

@elasticmachine update branch

@dakrone dakrone changed the title Fix AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated Fix AllocationRoutedStepTests.testConditionMetOnlyOneCopyAlloc… Oct 2, 2019
@dakrone dakrone merged commit b1cc727 into elastic:master Oct 2, 2019
@dakrone dakrone deleted the ilm-fix-allocation-routed-step-tests branch October 2, 2019 16:01
dakrone added a commit that referenced this pull request Oct 2, 2019
* Fix AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated

These tests were using randomly generated includes/excludes/requires for
routing, however, it was possible to generate mutually exclusive
allocation settings (about 1 out of 50,000 times for my runs).

This splits the test into three different tests, and removes the
randomization (it doesn't add anything to the testing here) to fix the
issue.

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

Labels

:Data Management/ILM+SLM Index and Snapshot lifecycle management >test Issues or PRs that are addressing/adding tests v7.5.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AllocationRoutedStepTests.testConditionMetOnlyOneCopyAllocated fails on 7.x with incorrect message

4 participants