-
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
[DataUsage][Serverless] Add missing tests #198007
[DataUsage][Serverless] Add missing tests #198007
Conversation
b373558
to
0f0119e
Compare
/ci |
0f0119e
to
486ad91
Compare
/ci |
31465b1
to
f159af5
Compare
f159af5
to
13aa1b1
Compare
storageSizeBytes: stat.size_in_bytes ?? 0, | ||
})); | ||
const body = | ||
meteringStats && !!meteringStats.length |
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.
@neptunian I added this change just in case the metering stats API does not return anything useful.
}); | ||
}); | ||
|
||
it.each([ |
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.
@neptunian and the tests for that change here
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11730353082 |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled in files
Total ESLint disabled count
History
cc @ashokaditya |
## Summary Adds missing UX/API tests for changes added in - elastic#193966 - elastic#197056 - elastic#195556 - elastic#196559 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 207894e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[DataUsage][Serverless] Add missing tests (#198007)](#198007) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ash","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-07T19:57:46Z","message":"[DataUsage][Serverless] Add missing tests (#198007)\n\n## Summary\r\n\r\nAdds missing UX/API tests for changes added in \r\n- https://github.com/elastic/kibana/pull/193966\r\n- https://github.com/elastic/kibana/pull/197056\r\n- https://github.com/elastic/kibana/pull/195556\r\n- https://github.com/elastic/kibana/pull/196559\r\n\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"207894edd5c8bd2530dee2f54d47b4f497aa3687","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.17.0"],"title":"[DataUsage][Serverless] Add missing tests","number":198007,"url":"https://github.com/elastic/kibana/pull/198007","mergeCommit":{"message":"[DataUsage][Serverless] Add missing tests (#198007)\n\n## Summary\r\n\r\nAdds missing UX/API tests for changes added in \r\n- https://github.com/elastic/kibana/pull/193966\r\n- https://github.com/elastic/kibana/pull/197056\r\n- https://github.com/elastic/kibana/pull/195556\r\n- https://github.com/elastic/kibana/pull/196559\r\n\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"207894edd5c8bd2530dee2f54d47b4f497aa3687"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198007","number":198007,"mergeCommit":{"message":"[DataUsage][Serverless] Add missing tests (#198007)\n\n## Summary\r\n\r\nAdds missing UX/API tests for changes added in \r\n- https://github.com/elastic/kibana/pull/193966\r\n- https://github.com/elastic/kibana/pull/197056\r\n- https://github.com/elastic/kibana/pull/195556\r\n- https://github.com/elastic/kibana/pull/196559\r\n\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"207894edd5c8bd2530dee2f54d47b4f497aa3687"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
## Summary Adds missing UX/API tests for changes added in - elastic#193966 - elastic#197056 - elastic#195556 - elastic#196559 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary Adds missing UX/API tests for changes added in - elastic#193966 - elastic#197056 - elastic#195556 - elastic#196559 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
Adds missing UX/API tests for changes added in
Checklist