Skip to content

Comments

[9.1] [ska] relocate fleet api integration tests (#227769)#228489

Merged
kibanamachine merged 3 commits intoelastic:9.1from
kibanamachine:backport/9.1/pr-227769
Jul 18, 2025
Merged

[9.1] [ska] relocate fleet api integration tests (#227769)#228489
kibanamachine merged 3 commits intoelastic:9.1from
kibanamachine:backport/9.1/pr-227769

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform fleet api tests from x-pack/test

```
x-pack/test/
     | - fleet_api_integration
```

After:
```
x-pack/platform/test/
     | - fleet_api_integration
```

The tests that use imports from `security-solution` plugin are left in
`x-pack/test` and will be relocated to solution directory in the
follow-up

(cherry picked from commit 84f5a7d)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jul 17, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) July 17, 2025 16:23
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 17, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibanamachine kibanamachine merged commit 45fe9e6 into elastic:9.1 Jul 18, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
@kbn/test-suites-xpack 11 10 -1
@kbn/test-suites-xpack-platform 8 9 +1
total -0

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 101 89 -12
@kbn/test-suites-xpack-platform 120 128 +8
total -4

References to deprecated APIs

id before after diff
@kbn/test-suites-xpack-platform 46 48 +2

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 112 99 -13
@kbn/test-suites-xpack-platform 128 137 +9
total -4

History

cc @dmlemeshko

@kibanamachine
Copy link
Contributor Author

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#8939

[✅] x-pack/platform/test/fleet_api_integration/config.agent.ts: 25/25 tests passed.

see run history

dmlemeshko added a commit that referenced this pull request Aug 4, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[ska] relocate fleet api integration tests
(#227769)](#227769)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-07-15T06:50:37Z","message":"[ska]
relocate fleet api integration tests (#227769)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform fleet api tests from
x-pack/test\n\n```\nx-pack/test/\n | -
fleet_api_integration\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
fleet_api_integration\n```\n\nThe tests that use imports from
`security-solution` plugin are left in\n`x-pack/test` and will be
relocated to solution directory in
the\nfollow-up","sha":"84f5a7dc26243430a888e91cde2b40350ebcd695","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate fleet api integration
tests","number":227769,"url":"https://github.com/elastic/kibana/pull/227769","mergeCommit":{"message":"[ska]
relocate fleet api integration tests (#227769)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform fleet api tests from
x-pack/test\n\n```\nx-pack/test/\n | -
fleet_api_integration\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
fleet_api_integration\n```\n\nThe tests that use imports from
`security-solution` plugin are left in\n`x-pack/test` and will be
relocated to solution directory in
the\nfollow-up","sha":"84f5a7dc26243430a888e91cde2b40350ebcd695"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/228489","number":228489,"state":"MERGED","mergeCommit":{"sha":"45fe9e6f63c78abeb56f03a35a9fed102649ea38","message":"[9.1]
[ska] relocate fleet api integration tests (#227769) (#228489)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.1`:\n- [[ska] relocate fleet api integration
tests\n(#227769)](https://github.com/elastic/kibana/pull/227769)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
Dzmitry Lemechko
<dzmitry.lemechko@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227769","number":227769,"mergeCommit":{"message":"[ska]
relocate fleet api integration tests (#227769)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform fleet api tests from
x-pack/test\n\n```\nx-pack/test/\n | -
fleet_api_integration\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
fleet_api_integration\n```\n\nThe tests that use imports from
`security-solution` plugin are left in\n`x-pack/test` and will be
relocated to solution directory in
the\nfollow-up","sha":"84f5a7dc26243430a888e91cde2b40350ebcd695"}}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Fleet Team label for Observability Data Collection Fleet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants