From ab1acf209ba78ea3cdf64cf656bb62ac19e051bb Mon Sep 17 00:00:00 2001
From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Date: Mon, 8 Apr 2024 04:22:16 -0400
Subject: [PATCH 1/2] skip failing test suite (#180236)

---
 .../trial_license_complete_tier/execution_logic/new_terms.ts   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/trial_license_complete_tier/execution_logic/new_terms.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/trial_license_complete_tier/execution_logic/new_terms.ts
index c56873abca198..871bcbcfd01af 100644
--- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/trial_license_complete_tier/execution_logic/new_terms.ts
+++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/detection_engine/rule_execution_logic/trial_license_complete_tier/execution_logic/new_terms.ts
@@ -80,7 +80,8 @@ export default ({ getService }: FtrProviderContext) => {
     return testId;
   };
 
-  describe('@ess @serverless New terms type rules', () => {
+  // Failing: See https://github.com/elastic/kibana/issues/180236
+  describe.skip('@ess @serverless New terms type rules', () => {
     before(async () => {
       await esArchiver.load(path);
       await esArchiver.load('x-pack/test/functional/es_archives/security_solution/new_terms');

From a3144b19078fab1f8f96a1c151e62cfb331881da Mon Sep 17 00:00:00 2001
From: Alex Szabo <alex.szabo@elastic.co>
Date: Mon, 8 Apr 2024 10:31:29 +0200
Subject: [PATCH 2/2] [Tests] skip failing response-too-large test (#180254)

## Summary
cc: @elastic/kibana-core

skip response-too-large test
(https://github.com/elastic/kibana/issues/167288)
---
 .../migrations/group3/actions/actions_test_suite.ts           | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions_test_suite.ts b/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions_test_suite.ts
index 682478f8d5f83..b11efed76e529 100644
--- a/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions_test_suite.ts
+++ b/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions_test_suite.ts
@@ -1348,7 +1348,9 @@ export const runActionTestSuite = ({
       );
     });
 
-    it('returns a left es_response_too_large error when a read batch exceeds the maxResponseSize', async () => {
+    // consistently breaking in CI:
+    // https://github.com/elastic/kibana/issues/167288
+    it.skip('returns a left es_response_too_large error when a read batch exceeds the maxResponseSize', async () => {
       const openPitTask = openPit({ client, index: 'existing_index_with_docs' });
       const pitResponse = (await openPitTask()) as Either.Right<OpenPitResponse>;