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

[ML] Add API integration testing for AD annotations #73068

Merged
merged 10 commits into from
Jul 31, 2020

Conversation

qn895
Copy link
Member

@qn895 qn895 commented Jul 23, 2020

[ML] Remove filter APIs## Summary

This PR adds API integration testing to the api/ml/annotations endpoints. Related to #63700

Coverage:

  • get annotations
  • create annotations
  • update annotations
  • delete annotations

Checklist

Delete any items that are not applicable to this PR.

@qn895 qn895 added Feature:Anomaly Detection ML anomaly detection v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.9.0 labels Jul 23, 2020
@qn895 qn895 self-assigned this Jul 23, 2020
Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

…overage

# Conflicts:
#	x-pack/test/api_integration/apis/ml/index.ts
#	x-pack/test/functional/services/ml/api.ts
@pheyos
Copy link
Member

pheyos commented Jul 28, 2020

Checking test stability in a flaky test runner job ...
=> No failure in 50 runs ✔️

Copy link
Member

@pheyos pheyos left a 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.
@qn895 qn895 requested a review from pheyos July 29, 2020 21:43
Copy link
Member

@pheyos pheyos left a 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.

Copy link
Member

@pheyos pheyos left a 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 ! 🎉

@qn895
Copy link
Member Author

qn895 commented Jul 30, 2020

@elasticmachine merge upstream

@qn895
Copy link
Member Author

qn895 commented Jul 31, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

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

@qn895 qn895 merged commit 69844e4 into elastic:master Jul 31, 2020
@qn895 qn895 deleted the annotations-api-coverage branch July 31, 2020 16:22
qn895 added a commit to qn895/kibana that referenced this pull request Jul 31, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
qn895 added a commit to qn895/kibana that referenced this pull request Jul 31, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
qn895 added a commit that referenced this pull request Aug 2, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
qn895 added a commit that referenced this pull request Aug 2, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants