From 5e904ac094b2770c3b1bed0d7882df9c202029b9 Mon Sep 17 00:00:00 2001 From: Ashokaditya Date: Wed, 29 Nov 2023 10:16:51 +0100 Subject: [PATCH 1/3] unskip test fixes elastic/kibana/issues/171666 fixes elastic/kibana/issues/171667 --- .../apis/endpoint_response_actions/execute.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/test/security_solution_endpoint_api_int/apis/endpoint_response_actions/execute.ts b/x-pack/test/security_solution_endpoint_api_int/apis/endpoint_response_actions/execute.ts index 8d297f82befee..f904539dae231 100644 --- a/x-pack/test/security_solution_endpoint_api_int/apis/endpoint_response_actions/execute.ts +++ b/x-pack/test/security_solution_endpoint_api_int/apis/endpoint_response_actions/execute.ts @@ -16,9 +16,7 @@ export default function ({ getService }: FtrProviderContext) { const supertestWithoutAuth = getService('supertestWithoutAuth'); const endpointTestResources = getService('endpointTestResources'); - // FLAKY: https://github.com/elastic/kibana/issues/171667 - // FLAKY: https://github.com/elastic/kibana/issues/171666 - describe.skip('Endpoint `execute` response action', function () { + describe('Endpoint `execute` response action', function () { targetTags(this, ['@ess', '@serverless']); let indexedData: IndexedHostsAndAlertsResponse; From 2a09964c88361798e32fe0181650746485599265 Mon Sep 17 00:00:00 2001 From: Ashokaditya Date: Wed, 29 Nov 2023 10:16:58 +0100 Subject: [PATCH 2/3] change for flaky run --- .../apis/index.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/x-pack/test/security_solution_endpoint_api_int/apis/index.ts b/x-pack/test/security_solution_endpoint_api_int/apis/index.ts index c0668612907a7..f2f25c68cc9b5 100644 --- a/x-pack/test/security_solution_endpoint_api_int/apis/index.ts +++ b/x-pack/test/security_solution_endpoint_api_int/apis/index.ts @@ -51,15 +51,15 @@ export default function endpointAPIIntegrationTests(providerContext: FtrProvider } }); - loadTestFile(require.resolve('./resolver')); - loadTestFile(require.resolve('./metadata')); - loadTestFile(require.resolve('./policy')); - loadTestFile(require.resolve('./package')); - loadTestFile(require.resolve('./endpoint_authz')); + // loadTestFile(require.resolve('./resolver')); + // loadTestFile(require.resolve('./metadata')); + // loadTestFile(require.resolve('./policy')); + // loadTestFile(require.resolve('./package')); + // loadTestFile(require.resolve('./endpoint_authz')); loadTestFile(require.resolve('./endpoint_response_actions/execute')); - loadTestFile(require.resolve('./endpoint_artifacts/trusted_apps')); - loadTestFile(require.resolve('./endpoint_artifacts/event_filters')); - loadTestFile(require.resolve('./endpoint_artifacts/host_isolation_exceptions')); - loadTestFile(require.resolve('./endpoint_artifacts/blocklists')); + // loadTestFile(require.resolve('./endpoint_artifacts/trusted_apps')); + // loadTestFile(require.resolve('./endpoint_artifacts/event_filters')); + // loadTestFile(require.resolve('./endpoint_artifacts/host_isolation_exceptions')); + // loadTestFile(require.resolve('./endpoint_artifacts/blocklists')); }); } From 7b4f2249f5a378d7a9e2cc554ce386b96bf30cb5 Mon Sep 17 00:00:00 2001 From: Ashokaditya Date: Wed, 29 Nov 2023 12:50:20 +0100 Subject: [PATCH 3/3] undo config change --- .../apis/index.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/x-pack/test/security_solution_endpoint_api_int/apis/index.ts b/x-pack/test/security_solution_endpoint_api_int/apis/index.ts index f2f25c68cc9b5..c0668612907a7 100644 --- a/x-pack/test/security_solution_endpoint_api_int/apis/index.ts +++ b/x-pack/test/security_solution_endpoint_api_int/apis/index.ts @@ -51,15 +51,15 @@ export default function endpointAPIIntegrationTests(providerContext: FtrProvider } }); - // loadTestFile(require.resolve('./resolver')); - // loadTestFile(require.resolve('./metadata')); - // loadTestFile(require.resolve('./policy')); - // loadTestFile(require.resolve('./package')); - // loadTestFile(require.resolve('./endpoint_authz')); + loadTestFile(require.resolve('./resolver')); + loadTestFile(require.resolve('./metadata')); + loadTestFile(require.resolve('./policy')); + loadTestFile(require.resolve('./package')); + loadTestFile(require.resolve('./endpoint_authz')); loadTestFile(require.resolve('./endpoint_response_actions/execute')); - // loadTestFile(require.resolve('./endpoint_artifacts/trusted_apps')); - // loadTestFile(require.resolve('./endpoint_artifacts/event_filters')); - // loadTestFile(require.resolve('./endpoint_artifacts/host_isolation_exceptions')); - // loadTestFile(require.resolve('./endpoint_artifacts/blocklists')); + loadTestFile(require.resolve('./endpoint_artifacts/trusted_apps')); + loadTestFile(require.resolve('./endpoint_artifacts/event_filters')); + loadTestFile(require.resolve('./endpoint_artifacts/host_isolation_exceptions')); + loadTestFile(require.resolve('./endpoint_artifacts/blocklists')); }); }