Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Infra] API tests deployment agnostic (elastic#198257) (elastic…
…#199597) # Backport This will backport the following commits from `main` to `8.x`: - [[Infra] API tests deployment agnostic (elastic#198257)](elastic#198257) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Carlos Crespo","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-05T18:39:58Z","message":"[Infra] API tests deployment agnostic (elastic#198257)\n\ncloses [elastic#198015](https://github.com/elastic/kibana/issues/198015)\r\n\r\n## Summary\r\n\r\nMigrate most of the infra APIs integration tests to the\r\ndeployment-agnostic approach.\r\n\r\n>[!important]\r\n> - Metrics UI related tests were note migrated because the feature is\r\nnot enabled on serverless.\r\n> - `Host with active alerts` test was not migrated because\r\n`es_archiver` fails to load the alerts data. This is because on\r\nserverless, the alerts indices are created as managed data streams and\r\nthat causes the `es_archiver` to fail. We should probably try use\r\nsynthtrace.\r\n\r\n - [x] Tested against MKI\r\n - [x] Tested against stateful\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"26f24c66b5843f5d2c4340dd442c4ddfd375793f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services"],"number":198257,"url":"https://github.com/elastic/kibana/pull/198257","mergeCommit":{"message":"[Infra] API tests deployment agnostic (elastic#198257)\n\ncloses [elastic#198015](https://github.com/elastic/kibana/issues/198015)\r\n\r\n## Summary\r\n\r\nMigrate most of the infra APIs integration tests to the\r\ndeployment-agnostic approach.\r\n\r\n>[!important]\r\n> - Metrics UI related tests were note migrated because the feature is\r\nnot enabled on serverless.\r\n> - `Host with active alerts` test was not migrated because\r\n`es_archiver` fails to load the alerts data. This is because on\r\nserverless, the alerts indices are created as managed data streams and\r\nthat causes the `es_archiver` to fail. We should probably try use\r\nsynthtrace.\r\n\r\n - [x] Tested against MKI\r\n - [x] Tested against stateful\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"26f24c66b5843f5d2c4340dd442c4ddfd375793f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198257","number":198257,"mergeCommit":{"message":"[Infra] API tests deployment agnostic (elastic#198257)\n\ncloses [elastic#198015](https://github.com/elastic/kibana/issues/198015)\r\n\r\n## Summary\r\n\r\nMigrate most of the infra APIs integration tests to the\r\ndeployment-agnostic approach.\r\n\r\n>[!important]\r\n> - Metrics UI related tests were note migrated because the feature is\r\nnot enabled on serverless.\r\n> - `Host with active alerts` test was not migrated because\r\n`es_archiver` fails to load the alerts data. This is because on\r\nserverless, the alerts indices are created as managed data streams and\r\nthat causes the `es_archiver` to fail. We should probably try use\r\nsynthtrace.\r\n\r\n - [x] Tested against MKI\r\n - [x] Tested against stateful\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"26f24c66b5843f5d2c4340dd442c4ddfd375793f"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information