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

Upgrade tests to support the 1st event being the "available" #171216

Conversation

gsoldevila
Copy link
Contributor

@gsoldevila gsoldevila commented Nov 14, 2023

Summary

Address #171164

The tests were assuming that the first event emitted is always "degraded".
After merging #171012 this might no longer be the case, aka the first event might already have an "available" status and we might have no more events in that case.

This PR takes this enhancement into account and makes the test more robust:

  • Checking that an "initializing" event comes through first.
  • Checking that we eventually get an "available" event.

Flaky Test Runner Pipeline - 100x 🟢
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3981

@gsoldevila gsoldevila added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes test-failure-flaky backport:skip This commit does not require backporting labels Nov 14, 2023
@gsoldevila gsoldevila requested a review from a team as a code owner November 14, 2023 16:37
@elasticmachine
Copy link
Contributor

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

@gsoldevila gsoldevila requested a review from afharo November 14, 2023 16:37
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting 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 test-failure-flaky v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants