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

Consistent timeouts for the Space onPostAuth interceptor tests #56158

Merged
merged 3 commits into from
Jan 28, 2020

Conversation

kobelb
Copy link
Contributor

@kobelb kobelb commented Jan 28, 2020

There have been some failures for these tests, I believe they were being caused by certain tests forgetting to adjust their timeout to 30 seconds. This switched to using jest.setTimeout(). The docs don't make it clear the "scope" that the timeout is adjusted for, but my basic testing shows it being isolated to the file. We've also used this elsewhere in Kibana, so I'm pretty sure (famous last words) this isn't global in scope.

Failures:
https://kibana-ci.elastic.co/job/elastic+kibana+master/2523/
https://kibana-ci.elastic.co/job/elastic+kibana+7.x/2517/
https://kibana-ci.elastic.co/job/elastic+kibana+7.x/2520/

@kobelb kobelb requested a review from a team as a code owner January 28, 2020 15:05
@kobelb kobelb added release_note:skip Skip the PR/issue when compiling release notes v8.0.0 v7.7.0 labels Jan 28, 2020
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

LGTM once the 100x trial runs are reverted (6054ac4)

This reverts commit 6054ac4.
@kobelb kobelb merged commit 597e7ea into elastic:master Jan 28, 2020
@kobelb kobelb deleted the spaces-on-post-auth-timeout branch January 28, 2020 20:59
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

kobelb added a commit that referenced this pull request Jan 28, 2020
… (#56233)

* Consistent timeouts for the Space onPostAuth interceptor tests

* Run 100 times

* Revert "Run 100 times"

This reverts commit 6054ac4.
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 29, 2020
* master: (31 commits)
  [SIEM] Overview page feedback (elastic#56261)
  refactor (elastic#56131)
  [NP Cleanup] Remove ui/public/inspector (elastic#55677)
  [SIEM] [TIMELINE] Only add endpoint logo when on event.module === endgame (elastic#56263)
  Basic Functionality Alert List (elastic#55800)
  [SIEM] Fix filters on Hosts and Network page (elastic#56234)
  [SIEM] Adds ability to infer the newsfeed.enabled setting (elastic#56236)
  [SIEM][Detection Engine] critical blocker for updated rules
  [SIEM][Detection Engine] critical blocker, fixes ordering issue that causes rules to not run the first time
  [SIEM] Add link to endpoint app through reference.url (elastic#56211)
  [Metrics UI] Fixing title truncation in Metrics Explorer (elastic#55917)
  [SIEM] Put the notice for rules in comment block (elastic#56123)
  [SIEM][Detection Engine] critical blocker with the UI crashing
  Consistent timeouts for the Space onPostAuth interceptor tests (elastic#56158)
  Skip tests that depend on other skipped test
  [SIEM] [Detection Engine] Timestamps for rules (elastic#56197)
  Sort server-side in SavedObject export (elastic#55128)
  [Reporting] Document the 8.0 breaking changes (elastic#56187)
  Revert "[Monitoring] Change all configs to `monitoring.*`" (elastic#56214)
  add owners for es_archiver (elastic#56184)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants