-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Improve session cleanup tests stability. #121961
Improve session cleanup tests stability. #121961
Conversation
1b3754e
to
fbcddd6
Compare
Pinging @elastic/kibana-security (Team:Security) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for this!
One question -- I noticed the values in session_lifespan.config.ts
are also 5s/10s. It appears those tests aren't flaky (yet) but do you think it might be worth it to change those too?
Yeah, it's a good point! It'd not hurt to bump these timeouts there as well, I'll update PR (and run a flaky-test-runner job before merging). |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/38 (x30 runs, CI group 6 and 18, ✅ ) - merging. |
💔 Backport failed
To backport manually run: |
Summary
In the flaky test we take the following steps:
'/internal/security/login'
'/internal/security/me'
'/internal/security/me'
The test fails on the step 2 likely because sometimes Kibana is too slow on CI and it takes more than 5s between steps 1 and 2.
In this PR I'm just doubling timeouts in the configuration for the affected tests.
Flaky test runner:
Fixes: #121482