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 flaky /api/status FTR test #121486

Merged

Conversation

pgayvallet
Copy link
Contributor

Summary

Fix #116060

@pgayvallet pgayvallet added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 v8.1.0 labels Dec 17, 2021
@@ -26,7 +25,7 @@ export default function ({ getService }) {
expect(body.version.build_number).to.be.a('number');

expect(body.status.overall).to.be.an('object');
expect(body.status.overall.level).to.be('available');
expect(body.status.overall.level).to.be.a('string');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test is here to ensure the shape of the data. Asserting against the actual status was causing flakiness if for any reason Kibana is not fully green when the test is run

@pgayvallet pgayvallet added auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes labels Dec 17, 2021
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Test Failures

  • [job] [logs] Default CI Group #7 / InfraOps App Metrics UI Home page Saved Views should have save and load controls
  • [job] [logs] Default CI Group #6 / ObservabilityApp Observability rules Stat counters Exist and display expected values

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 17, 2021 09:40
@elasticmachine
Copy link
Contributor

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

@pgayvallet pgayvallet requested a review from a team December 17, 2021 09:49
@pgayvallet pgayvallet merged commit e0acc68 into elastic:main Dec 17, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 17, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Dec 17, 2021
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