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/); - */ }); });