Skip to content
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

Fix CookieSessionStorage tests #121397

Merged

Conversation

pgayvallet
Copy link
Contributor

@pgayvallet pgayvallet commented Dec 16, 2021

Summary

Fix #89318
Fix #89319
Fix #89608

  • Fix flakiness by moving from unit test to integration tests

The 5sec timeout used for standard unit test is not sufficient for these tests that are starting an HttpServer. I could reproduce the flakiness locally by throttling my CPU. Moving them to integration tests that use 10mins as timeout fixes it. Also given these tests are using a real httpServer instance, having them as integration tests make sense imho

  • Adapt tests for recent code changes

Those tests were skipped for a long time, I had to adapt the code to pass with changes performed in this area in the past 10 months.

@pgayvallet pgayvallet added release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 v8.1.0 labels Dec 16, 2021
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pgayvallet pgayvallet marked this pull request as ready for review December 16, 2021 15:17
@pgayvallet pgayvallet requested a review from a team as a code owner December 16, 2021 15:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@pgayvallet pgayvallet added the auto-backport Deprecated - use backport:version if exact versions are needed label Dec 16, 2021
@pgayvallet pgayvallet merged commit faf5ae2 into elastic:main Dec 16, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 16, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0

This backport PR will be merged automatically after passing CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 v8.1.0
Projects
None yet
5 participants