[9.4] [scout] migrate FTR logstash api tests (#262953)#264265
Merged
kibanamachine merged 1 commit intoelastic:9.4from Apr 18, 2026
Merged
[9.4] [scout] migrate FTR logstash api tests (#262953)#264265kibanamachine merged 1 commit intoelastic:9.4from
kibanamachine merged 1 commit intoelastic:9.4from
Conversation
## Summary Closes elastic/appex-qa-team#851 Logstash API tests migrated from FTR → Scout Source: `x-pack/platform/test/api_integration/apis/logstash/` (5 test files, now deleted) Target: `x-pack/platform/plugins/private/logstash/test/scout/api/` New spec files: File | Covers -- | -- cluster.spec.ts | GET /api/logstash/cluster pipeline.spec.ts | GET, PUT, DELETE /api/logstash/pipeline/{id} pipelines_delete.spec.ts | POST /api/logstash/pipelines/delete pipelines_list.spec.ts | GET /api/logstash/pipelines (was skipped in FTR — now unskipped) - No esArchiver — `.logstash` is a restricted system index; bulk indexing is blocked even for superuser. Pipelines are seeded via `esClient.logstash.putPipeline` in `beforeAll` per spec instead - Minimum roles — `LOGSTASH_MANAGER_ROLE` (manage_logstash_pipelines) for pipeline ops; `LOGSTASH_CLUSTER_ROLE` (monitor) for the cluster endpoint (FTR used superuser for everything) - Stateful only — no serverless Logstash tests exist or were added - Coverage improvements — added 404 assertion for non-existing pipeline GET; explicit numSuccesses/numErrors check on bulk delete; sort-order assertion on pipeline list --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 4720f96)
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Public APIs missing exports
Unknown metric groupsAPI count
cc @dmlemeshko |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.4:Questions ?
Please refer to the Backport tool documentation