Skip to content

Unmute TokenAuthIntegTests test#61715

Merged
jkakavas merged 1 commit intoelastic:7.xfrom
jkakavas:backport/7.x/fix-55816
Sep 1, 2020
Merged

Unmute TokenAuthIntegTests test#61715
jkakavas merged 1 commit intoelastic:7.xfrom
jkakavas:backport/7.x/fix-55816

Conversation

@jkakavas
Copy link
Copy Markdown
Contributor

@ywangd made an awesome analysis on why this test is failing, over
at #55816 (comment)

This change makes it so that we use the same client to perform a
refresh of a token, as we use to subsequently attempt to authenticate
with the refreshed token. This ensures the tests are failing and is
a good approximation of how we expect the same client doing the
refresh, to also perform the subsequent authentication in real life
uses.

The errors we were seeing from users have disappeared after #55114
so we deem our behavior safe.

@ywangd made an awesome analysis on why this test is failing, over
at elastic#55816 (comment)

This change makes it so that we use the same client to perform a
refresh of a token, as we use to subsequently attempt to authenticate
with the refreshed token. This ensures the tests are failing and is
a good approximation of how we expect the same client doing the
refresh, to also perform the subsequent authentication in real life
uses.

The errors we were seeing from users have disappeared after elastic#55114
so we deem our behavior safe.
@jkakavas jkakavas added >test-failure Triaged test failures from CI :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) labels Aug 31, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-security (:Security/Authentication)

@elasticmachine elasticmachine added the Team:Security Meta label for security team label Aug 31, 2020
@jkakavas
Copy link
Copy Markdown
Contributor Author

@elasticmachine run elasticsearch-ci/1

Copy link
Copy Markdown
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

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

LGTM

@jkakavas jkakavas merged commit ced2c14 into elastic:7.x Sep 1, 2020
@jkakavas jkakavas deleted the backport/7.x/fix-55816 branch September 1, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team >test-failure Triaged test failures from CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants