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

Fixes SecurityIntegTestCase so it always adds at least one alias #33296

Merged
merged 2 commits into from
Aug 31, 2018
Merged

Fixes SecurityIntegTestCase so it always adds at least one alias #33296

merged 2 commits into from
Aug 31, 2018

Commits on Aug 31, 2018

  1. Fixes SecurityIntegTestCase so it always adds at least one alias

    `SecurityIntegTestCase.createIndicesWithRandomAliases` could randomly
    fail because its not gauranteed that the randomness of which aliases to
    add to the `IndicesAliasesRequestBuilder` would always select at least
    one alias to add. This change fixes the problem by keeping track of
    whether we have added an alias to teh request and forcing the last
    alias to be added if no other aliases have been added so far.
    
    Closes #30098
    Closes #33123e
    colings86 committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    d35890e View commit details
    Browse the repository at this point in the history
  2. Addresses review comments

    colings86 committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    4c27d26 View commit details
    Browse the repository at this point in the history