Skip to content

[Backport] Add a smoke test for security realms#68950

Merged
tvernum merged 2 commits intoelastic:7.xfrom
tvernum:backport/7.x/68881-Add-a-smoke-test
Feb 13, 2021
Merged

[Backport] Add a smoke test for security realms#68950
tvernum merged 2 commits intoelastic:7.xfrom
tvernum:backport/7.x/68881-Add-a-smoke-test

Conversation

@tvernum
Copy link
Contributor

@tvernum tvernum commented Feb 12, 2021

This changes adds a new QA test that runs a smoke test on a node that
has been configured with one realm of each type.

Not all of the realms work, because some of them would depend on
external fixtures (LDAP, SAML, etc) and this particularly test suite
is intended to be as stable as possible and have no external
dependencies.

The primary purpose of this test is to catch any issues that prevent
a node from starting with particular realms configurd (e.g. security
manager or classpath issues). We don't depend on external fixtures
becaused we want this to be a smoke test that clearly indicates when a
(seemingly unrelated) change in Elasticsearch has unintended
consequences on realms. The use of external dependencies would
increase the number of things that could go wrong and move this from a
smoke test to a potentially noisy integration test.

Backport of: #68881

This changes adds a new QA test that runs a smoke test on a node that
has been configured with one realm of each type.

Not all of the realms work, because some of them would depend on
external fixtures (LDAP, SAML, etc) and this particularly test suite
is intended to be as stable as possible and have no external
dependencies.

The primary purpose of this test is to catch any issues that prevent
a node from starting with particular realms configurd (e.g. security
manager or classpath issues). We don't depend on external fixtures
becaused we want this to be a smoke test that clearly indicates when a
(seemingly unrelated) change in Elasticsearch has unintended
consequences on realms. The use of external dependencies would
increase the number of things that could go wrong and move this from a
smoke test to a potentially noisy integration test.

Backport of: elastic#68881
@tvernum tvernum merged commit 255151c into elastic:7.x Feb 13, 2021
@tvernum tvernum deleted the backport/7.x/68881-Add-a-smoke-test branch February 13, 2021 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant