Skip to content

[6.x] [esArchiver/test] use different lengths for random to ensure unique values (#20857)#20861

Merged
spalger merged 2 commits intoelastic:6.xfrom
spalger:backport/6.x/pr-20857
Jul 17, 2018
Merged

[6.x] [esArchiver/test] use different lengths for random to ensure unique values (#20857)#20861
spalger merged 2 commits intoelastic:6.xfrom
spalger:backport/6.x/pr-20857

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Jul 16, 2018

Backports the following commits to 6.x:

…alues (elastic#20857)

fixes elastic#20741

Rather than just generate random words with the default length of 2, generate a random 5 letter word for the type to filter by and 10 letter words for the other types, so there will never be more than 3 records with `type1`.
@spalger spalger added the backport This PR is a backport of another PR label Jul 16, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 020d7a3 into elastic:6.x Jul 17, 2018
@spalger spalger deleted the backport/6.x/pr-20857 branch July 17, 2018 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants