OpenSearch/x-pack/plugin/security
Colin Goodheart-Smithe 436d5c4eee
Fixes SecurityIntegTestCase so it always adds at least one alias (#33296)
* 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

* Addresses review comments
2018-08-31 17:47:05 +01:00
..
cli Fix forbidden apis on FIPS (#33202) 2018-08-29 17:43:40 +03:00
forbidden Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00
licenses LOGGING: Upgrade to Log4J 2.11.1 (#32616) 2018-08-06 14:56:21 +02:00
src Fixes SecurityIntegTestCase so it always adds at least one alias (#33296) 2018-08-31 17:47:05 +01:00
build.gradle Run Third party audit with forbidden APIs CLI (part3/3) (#33052) 2018-08-28 10:03:30 +03:00