Skip to content

[BACKPORT] Fix intermittent failure in ApiKeyIntegTests (#38627)#38936

Merged
bizybot merged 1 commit intoelastic:7.0from
bizybot:backport-fix-38408-70
Feb 15, 2019
Merged

[BACKPORT] Fix intermittent failure in ApiKeyIntegTests (#38627)#38936
bizybot merged 1 commit intoelastic:7.0from
bizybot:backport-fix-38408-70

Conversation

@bizybot
Copy link
Copy Markdown
Contributor

@bizybot bizybot commented Feb 15, 2019

Few tests failed intermittently and most of the
times due to invalidated or expired keys that were
deleted were still reported in search results.
This commit removes the test and adds enhancements
to other tests testing different scenario's.

When ExpiredApiKeysRemover is triggered, the tests
did not await its termination thereby sometimes
the results would be wrong for a search operation.

DELETE_INTERVAL setting has been further reduced to
100ms so we can trigger ExpiredApiKeysRemover faster.

Closes #38408

Few tests failed intermittently and most of the
times due to invalidated or expired keys that were
deleted were still reported in search results.
This commit removes the test and adds enhancements
to other tests testing different scenario's.

When ExpiredApiKeysRemover is triggered, the tests
did not await its termination thereby sometimes
the results would be wrong for a search operation.

DELETE_INTERVAL setting has been further reduced to
100ms so we can trigger ExpiredApiKeysRemover faster.

Closes elastic#38408
@bizybot bizybot added >test-failure Triaged test failures from CI :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) backport labels Feb 15, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-security

@bizybot bizybot merged commit 86f1371 into elastic:7.0 Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) >test-failure Triaged test failures from CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants