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] Increase Test Coverage 8.16.0 #188459

Closed
23 tasks done
peteharverson opened this issue Jul 16, 2024 · 2 comments
Closed
23 tasks done

[ML] Increase Test Coverage 8.16.0 #188459

peteharverson opened this issue Jul 16, 2024 · 2 comments

Comments

@peteharverson
Copy link
Contributor

peteharverson commented Jul 16, 2024

Follow up to #182235

Meta issue to summarize improvements to test coverage for 8.16.0.

Jest unit tests

API integration tests

Serverless tests

Functional tests

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@rbrtj rbrtj self-assigned this Oct 21, 2024
rbrtj added a commit that referenced this issue Oct 23, 2024
## Summary
Part of: [#188459](#188459)

Api integration tests for:
`POST /internal/ml/anomaly_detectors/:jobId/results/buckets`
`POST /internal/ml/anomaly_detectors/:jobId/results/overall_buckets`
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 23, 2024
…ic#197226)

## Summary
Part of: [elastic#188459](elastic#188459)

Api integration tests for:
`POST /internal/ml/anomaly_detectors/:jobId/results/buckets`
`POST /internal/ml/anomaly_detectors/:jobId/results/overall_buckets`

(cherry picked from commit 4a7ce90)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 23, 2024
…ic#197226)

## Summary
Part of: [elastic#188459](elastic#188459)

Api integration tests for:
`POST /internal/ml/anomaly_detectors/:jobId/results/buckets`
`POST /internal/ml/anomaly_detectors/:jobId/results/overall_buckets`

(cherry picked from commit 4a7ce90)
kibanamachine added a commit that referenced this issue Oct 23, 2024
…#197226) (#197416)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Get buckets and get overall buckets api integration tests
(#197226)](#197226)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Robert
Jaszczurek","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-23T12:01:17Z","message":"[ML]
Get buckets and get overall buckets api integration tests
(#197226)\n\n## Summary\r\nPart of:
[#188459](https://github.com/elastic/kibana/issues/188459)\r\n\r\nApi
integration tests for:\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/buckets`\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/overall_buckets`","sha":"4a7ce9062ec1a264da232be486cdfad2290a1641","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v9.0.0","Team:ML","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
Get buckets and get overall buckets api integration
tests","number":197226,"url":"https://github.com/elastic/kibana/pull/197226","mergeCommit":{"message":"[ML]
Get buckets and get overall buckets api integration tests
(#197226)\n\n## Summary\r\nPart of:
[#188459](https://github.com/elastic/kibana/issues/188459)\r\n\r\nApi
integration tests for:\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/buckets`\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/overall_buckets`","sha":"4a7ce9062ec1a264da232be486cdfad2290a1641"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197226","number":197226,"mergeCommit":{"message":"[ML]
Get buckets and get overall buckets api integration tests
(#197226)\n\n## Summary\r\nPart of:
[#188459](https://github.com/elastic/kibana/issues/188459)\r\n\r\nApi
integration tests for:\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/buckets`\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/overall_buckets`","sha":"4a7ce9062ec1a264da232be486cdfad2290a1641"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Robert Jaszczurek <[email protected]>
kibanamachine added a commit that referenced this issue Oct 23, 2024
…197226) (#197417)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ML] Get buckets and get overall buckets api integration tests
(#197226)](#197226)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Robert
Jaszczurek","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-23T12:01:17Z","message":"[ML]
Get buckets and get overall buckets api integration tests
(#197226)\n\n## Summary\r\nPart of:
[#188459](https://github.com/elastic/kibana/issues/188459)\r\n\r\nApi
integration tests for:\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/buckets`\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/overall_buckets`","sha":"4a7ce9062ec1a264da232be486cdfad2290a1641","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v9.0.0","Team:ML","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
Get buckets and get overall buckets api integration
tests","number":197226,"url":"https://github.com/elastic/kibana/pull/197226","mergeCommit":{"message":"[ML]
Get buckets and get overall buckets api integration tests
(#197226)\n\n## Summary\r\nPart of:
[#188459](https://github.com/elastic/kibana/issues/188459)\r\n\r\nApi
integration tests for:\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/buckets`\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/overall_buckets`","sha":"4a7ce9062ec1a264da232be486cdfad2290a1641"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197226","number":197226,"mergeCommit":{"message":"[ML]
Get buckets and get overall buckets api integration tests
(#197226)\n\n## Summary\r\nPart of:
[#188459](https://github.com/elastic/kibana/issues/188459)\r\n\r\nApi
integration tests for:\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/buckets`\r\n`POST
/internal/ml/anomaly_detectors/:jobId/results/overall_buckets`","sha":"4a7ce9062ec1a264da232be486cdfad2290a1641"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Robert Jaszczurek <[email protected]>
@peteharverson
Copy link
Contributor Author

Closing. All items planned for 8.16.0 have been completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants