-
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
[FTR] Use new ES client instead of legacyEs service #88720
[FTR] Use new ES client instead of legacyEs service #88720
Conversation
@elasticmachine merge upstream |
merge conflict between base and head |
07a3a36
to
2a45520
Compare
@@ -256,6 +258,7 @@ export default function ({ getService }) { | |||
) | |||
.expect(400) | |||
.then((resp) => { | |||
// eslint-disable-next-line no-console |
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.
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.
The log line I added was just for debugging so it shouldn't have been commited.
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.
I'll remove them then. Thanks for confirming!
/* | ||
* Create a single-level array with strings for all the paths to values in the | ||
* source object, up to 3 deep. Going deeper than 3 causes a bit too much churn | ||
* in the tests. | ||
*/ | ||
function flatKeys(source) { | ||
const recursivelyFlatKeys = (obj, path = [], depth = 0) => { | ||
function flatKeys(source: any) { |
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.
Record or object instead of any
?
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.
Thanks! Changed!
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Fixed merge conflicts from elastic#88720.
Summary
This PR migrates all the functional tests owned by @elastic/kibana-core from
legacyEs
to the servicees
. At the same time, it migrates them from.js
to.ts
to help with types in the future.Resolves #72442.
Checklist
Delete any items that are not applicable to this PR.
For maintainers