Skip to content

Commit 62d1829

Browse files
[9.2] [APM] Unskip integration tests and skip only the failing ones (elastic#240319) (elastic#240340)
# Backport This will backport the following commits from `main` to `9.2`: - [[APM] Unskip integration tests and skip only the failing ones (elastic#240319)](elastic#240319) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"jennypavlova","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-23T17:16:09Z","message":"[APM] Unskip integration tests and skip only the failing ones (elastic#240319)\n\n## Summary\n\nThis PR unskips the APM integration tests skipped in elastic#229299 and skips\nonly the failing ones.","sha":"3b966fe5ae0c1d34e21f303ef49f51436090f1b2","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","v9.2.0","v9.3.0"],"title":"[APM] Unskip integration tests and skip only the failing ones","number":240319,"url":"https://github.com/elastic/kibana/pull/240319","mergeCommit":{"message":"[APM] Unskip integration tests and skip only the failing ones (elastic#240319)\n\n## Summary\n\nThis PR unskips the APM integration tests skipped in elastic#229299 and skips\nonly the failing ones.","sha":"3b966fe5ae0c1d34e21f303ef49f51436090f1b2"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"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/240319","number":240319,"mergeCommit":{"message":"[APM] Unskip integration tests and skip only the failing ones (elastic#240319)\n\n## Summary\n\nThis PR unskips the APM integration tests skipped in elastic#229299 and skips\nonly the failing ones.","sha":"3b966fe5ae0c1d34e21f303ef49f51436090f1b2"}}]}] BACKPORT--> Co-authored-by: jennypavlova <[email protected]>
1 parent b284da5 commit 62d1829

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

x-pack/solutions/observability/test/apm_api_integration/tests/fleet/apm_package_policy.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ export default function ApiTest(ftrProviderContext: FtrProviderContext) {
108108
return res.total as number;
109109
}
110110

111-
registry.when('APM package policy', { config: 'basic', archives: [] }, () => {
111+
// Failing: See https://github.com/elastic/kibana/issues/229299
112+
// Failing: See https://github.com/elastic/kibana/issues/228131
113+
registry.when.skip('APM package policy', { config: 'basic', archives: [] }, () => {
112114
let apmPackagePolicy: PackagePolicy;
113115
let agentPolicyId: string;
114116
let packagePolicyId: string;

x-pack/solutions/observability/test/apm_api_integration/tests/fleet/migration_check.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export default function ApiTest(ftrProviderContext: FtrProviderContext) {
2323
const bettertest = getBettertest(supertest);
2424
const apmApiClient = getService('apmApiClient');
2525

26-
registry.when('Fleet migration check - basic', { config: 'basic', archives: [] }, () => {
26+
// Failing: See https://github.com/elastic/kibana/issues/229299
27+
registry.when.skip('Fleet migration check - basic', { config: 'basic', archives: [] }, () => {
2728
before(async () => {
2829
await setupFleet(bettertest);
2930
});
@@ -43,7 +44,7 @@ export default function ApiTest(ftrProviderContext: FtrProviderContext) {
4344
await setupFleet(bettertest);
4445
});
4546

46-
describe('migration check properties', () => {
47+
describe.skip('migration check properties', () => {
4748
it('should contain all expected properties', async () => {
4849
const { status, body } = await bettertest({
4950
pathname: '/internal/apm/fleet/migration_check',

x-pack/solutions/observability/test/apm_api_integration/tests/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ export default function apmApiIntegrationTests({ getService, loadTestFile }: Ftr
2929
// DO NOT SKIP
3030
// Skipping here will skip the entire apm api test suite
3131
// Instead skip (flaky) tests individually
32-
// Failing: See https://github.com/elastic/kibana/issues/229299
33-
describe.skip('APM API tests', function () {
32+
describe('APM API tests', function () {
3433
const filePattern = getGlobPattern();
3534
const tests = globby.sync(filePattern, { cwd });
3635

0 commit comments

Comments
 (0)