Commit 83db285
[8.19] Fixes Failing test: X-Pack Alerting API Integration Tests.x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill/api_key·ts - alerting api integration security and spaces enabled Alerts - Group 1 alerts backfill rule runs backfill api key invalidation should wait to invalidate API key until backfill for rule is complete (elastic#240339) (elastic#240510)
# Backport
This will backport the following commits from `main` to `8.19`:
- [Fixes Failing test: X-Pack Alerting API Integration
Tests.x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill/api_key·ts
- alerting api integration security and spaces enabled Alerts - Group 1
alerts backfill rule runs backfill api key invalidation should wait to
invalidate API key until backfill for rule is complete
(elastic#240339)](elastic#240339)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-24T18:55:48Z","message":"Fixes
Failing test: X-Pack Alerting API Integration
Tests.x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill/api_key·ts
- alerting api integration security and spaces enabled Alerts - Group 1
alerts backfill rule runs backfill api key invalidation should wait to
invalidate API key until backfill for rule is complete
(elastic#240339)\n\nResolves
https://github.com/elastic/kibana/issues/225194\n\n## Summary\n\nFlaky
because it's testing the contents of the ad hoc run saved object\nafter
scheduling a backfill task and assuming all the statuses will
be\n`pending` but occasionally, a backfill job will run right away and
set\nthe status to `complete`. This is ancillary to the functionality
we're\ntesting so updated the check to include both `pending` and
`complete`.","sha":"3a32af54b6b07885b062443281ca8445d20f7230","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","backport:version","v9.2.0","v9.3.0","v9.1.6","v8.19.6"],"title":"Fixes
Failing test: X-Pack Alerting API Integration
Tests.x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill/api_key·ts
- alerting api integration security and spaces enabled Alerts - Group 1
alerts backfill rule runs backfill api key invalidation should wait to
invalidate API key until backfill for rule is
complete","number":240339,"url":"https://github.com/elastic/kibana/pull/240339","mergeCommit":{"message":"Fixes
Failing test: X-Pack Alerting API Integration
Tests.x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill/api_key·ts
- alerting api integration security and spaces enabled Alerts - Group 1
alerts backfill rule runs backfill api key invalidation should wait to
invalidate API key until backfill for rule is complete
(elastic#240339)\n\nResolves
https://github.com/elastic/kibana/issues/225194\n\n## Summary\n\nFlaky
because it's testing the contents of the ad hoc run saved object\nafter
scheduling a backfill task and assuming all the statuses will
be\n`pending` but occasionally, a backfill job will run right away and
set\nthe status to `complete`. This is ancillary to the functionality
we're\ntesting so updated the check to include both `pending` and
`complete`.","sha":"3a32af54b6b07885b062443281ca8445d20f7230"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/240339","number":240339,"mergeCommit":{"message":"Fixes
Failing test: X-Pack Alerting API Integration
Tests.x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill/api_key·ts
- alerting api integration security and spaces enabled Alerts - Group 1
alerts backfill rule runs backfill api key invalidation should wait to
invalidate API key until backfill for rule is complete
(elastic#240339)\n\nResolves
https://github.com/elastic/kibana/issues/225194\n\n## Summary\n\nFlaky
because it's testing the contents of the ad hoc run saved object\nafter
scheduling a backfill task and assuming all the statuses will
be\n`pending` but occasionally, a backfill job will run right away and
set\nthe status to `complete`. This is ancillary to the functionality
we're\ntesting so updated the check to include both `pending` and
`complete`.","sha":"3a32af54b6b07885b062443281ca8445d20f7230"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Ying Mao <[email protected]>1 parent 93ae295 commit 83db285
File tree
1 file changed
+2
-2
lines changed- x-pack/platform/test/alerting_api_integration/security_and_spaces/group1/tests/alerting/backfill
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
0 commit comments