diff --git a/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts b/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts index 3f5f9f4de84e4..f7a66ee8bcf2e 100644 --- a/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts +++ b/src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts @@ -796,8 +796,7 @@ describe('migration actions', () => { `); }); - // Failing 7.latest ES 8.2 forward compatibility: https://github.com/elastic/kibana/issues/129078 - it.skip('resolves left wait_for_task_completion_timeout when the task does not finish within the timeout', async () => { + it('resolves left wait_for_task_completion_timeout when the task does not finish within the timeout', async () => { await waitForIndexStatusYellow({ client, index: '.kibana_1', @@ -818,8 +817,8 @@ describe('migration actions', () => { _tag: 'Left', left: { error: expect.any(ResponseError), - message: expect.stringMatching( - /\[timeout_exception\] Timed out waiting for completion of \[org.elasticsearch.index.reindex.BulkByScrollTask/ + message: expect.stringContaining( + '[timeout_exception] Timed out waiting for completion of' ), type: 'wait_for_task_completion_timeout', }, @@ -1161,8 +1160,8 @@ describe('migration actions', () => { await expect(task()).rejects.toThrow('index_not_found_exception'); }); - // Failing 7.latest ES 8.2 forward compatibility: https://github.com/elastic/kibana/issues/129078 - it.skip('resolves left wait_for_task_completion_timeout when the task does not complete within the timeout', async () => { + + it('resolves left wait_for_task_completion_timeout when the task does not complete within the timeout', async () => { const res = (await pickupUpdatedMappings( client, '.kibana_1' @@ -1178,8 +1177,8 @@ describe('migration actions', () => { _tag: 'Left', left: { error: expect.any(ResponseError), - message: expect.stringMatching( - /\[timeout_exception\] Timed out waiting for completion of \[org.elasticsearch.index.reindex.BulkByScrollTask/ + message: expect.stringContaining( + '[timeout_exception] Timed out waiting for completion of' ), type: 'wait_for_task_completion_timeout', },