-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix flaky /api/status FTR test #121486
Conversation
@@ -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'); |
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.
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
💛 Build succeeded, but was flaky
Test Failures
Metrics [docs]
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-core (Team:Core) |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Co-authored-by: Pierre Gayvallet <[email protected]>
Summary
Fix #116060