From 5838d16e60eb684b785702c80ff41e59d344fe1f Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Thu, 7 Dec 2023 18:42:03 -0700 Subject: [PATCH] [backport] [Tech debt] Removes commented out code (#172861) code cleanup from #172746 --- .../migrationsv2/integration_tests/cleanup.test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/core/server/saved_objects/migrationsv2/integration_tests/cleanup.test.ts b/src/core/server/saved_objects/migrationsv2/integration_tests/cleanup.test.ts index 4fdc0d96688f5..1cefa3996fe50 100644 --- a/src/core/server/saved_objects/migrationsv2/integration_tests/cleanup.test.ts +++ b/src/core/server/saved_objects/migrationsv2/integration_tests/cleanup.test.ts @@ -129,19 +129,5 @@ describe('migration v2', () => { ); expect(logRecordWithPit).toBeTruthy(); - /* TEMPORARILY DISABLE - const pitId = logRecordWithPit.right.pitId; - expect(pitId).toBeTruthy(); - - const client = esServer.es.getClient(); - await expect( - client.search({ - body: { - pit: { id: pitId }, - }, - }) - // throws an exception that cannot search with closed PIT - ).rejects.toThrow(/search_phase_execution_exception/); - */ }); });