-
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
[ML] Add API integration testing for AD annotations #73068
Conversation
[ML] Remove filter APIs
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.
LGTM
Pinging @elastic/ml-ui (:ml) |
…overage # Conflicts: # x-pack/test/api_integration/apis/ml/index.ts # x-pack/test/functional/services/ml/api.ts
Checking test stability in a flaky test runner job ... |
x-pack/test/api_integration/apis/ml/annotations/create_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/create_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/get_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/get_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/update_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/update_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/update_annotations.ts
Outdated
Show resolved
Hide resolved
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 can see some duplicated elements across the test files. Might be worth to pull out the commonly used job configs and annotations creation bodies and maybe even some methods, similar to what we have in the jobs
area.
…overage # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
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.
Changes looking good overall, just left two comments.
x-pack/test/api_integration/apis/ml/annotations/update_annotations.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/ml/annotations/update_annotations.ts
Outdated
Show resolved
Hide resolved
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.
LGTM
Thanks for adding these tests @qn895 ! 🎉
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
[ML] Remove filter APIs## Summary
This PR adds API integration testing to the
api/ml/annotations
endpoints. Related to #63700Coverage:
Checklist
Delete any items that are not applicable to this PR.