diff --git a/x-pack/test/functional/es_archives/task_manager_tasks/data.json b/x-pack/test/functional/es_archives/task_manager_tasks/data.json index eb0db58dfb385..b84cec27c1fab 100644 --- a/x-pack/test/functional/es_archives/task_manager_tasks/data.json +++ b/x-pack/test/functional/es_archives/task_manager_tasks/data.json @@ -2,11 +2,9 @@ "type": "doc", "value": { "id": "task:be7e1250-3322-11eb-94c1-db6995e84f6a", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.16.0" - }, + "typeMigrationVersion": "7.16.0", "references": [ ], "task": { @@ -33,11 +31,9 @@ "type": "doc", "value": { "id": "task:be7e1250-3322-11eb-94c1-db6995e8389f", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.16.0" - }, + "typeMigrationVersion": "7.16.0", "references": [ ], "task": { @@ -64,11 +60,9 @@ "type": "doc", "value": { "id": "task:d33d7590-8377-11ec-8c11-2dfe94229b95", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.6.0" - }, + "typeMigrationVersion": "7.6.0", "task": { "taskType": "alerting:xpack.uptime.alerts.monitorStatus", "retryAt": null, @@ -95,11 +89,9 @@ "type": "doc", "value": { "id": "task:ce7e1250-3322-11eb-94c1-db6995e84f6d", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.16.0" - }, + "typeMigrationVersion": "7.16.0", "references": [ ], "task": { @@ -126,11 +118,9 @@ "type": "doc", "value": { "id": "task:fe7e1250-3322-11eb-94c1-db6395e84f6e", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.16.0" - }, + "typeMigrationVersion": "7.16.0", "references": [ ], "task": { @@ -157,11 +147,9 @@ "type": "doc", "value": { "id": "task:ge7e1250-3322-11eb-94c1-db6395e84f6g", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.16.0" - }, + "typeMigrationVersion": "7.16.0", "references": [ ], "task": { @@ -188,11 +176,9 @@ "type": "doc", "value": { "id": "task:ie7e1250-3322-11eb-94c1-db6395e84f6i", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "7.16.0" - }, + "typeMigrationVersion": "7.16.0", "references": [ ], "task": { @@ -219,11 +205,9 @@ "type": "doc", "value": { "id": "task:d0487a50-c7f1-11ed-aefe-691acd8d4e25", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "8.5.0" - }, + "typeMigrationVersion": "8.5.0", "task": { "retryAt": null, "runAt": "2023-03-21T14:08:29.777Z", @@ -255,11 +239,9 @@ "type": "doc", "value": { "id": "task:cf0ced10-c7f1-11ed-aefe-691acd8d4e25", - "index": ".kibana_task_manager_1", + "index": ".kibana_task_manager", "source": { - "migrationVersion": { - "task": "8.5.0" - }, + "typeMigrationVersion": "8.5.0", "task": { "retryAt": null, "runAt": "2023-03-21T14:08:29.777Z", diff --git a/x-pack/test/functional/es_archives/task_manager_tasks/mappings.json b/x-pack/test/functional/es_archives/task_manager_tasks/mappings.json deleted file mode 100644 index fe502959e9ec6..0000000000000 --- a/x-pack/test/functional/es_archives/task_manager_tasks/mappings.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "type": "index", - "value": { - "aliases": { - ".kibana_task_manager": { - } - }, - "index": ".kibana_task_manager_1", - "mappings": { - "_meta": { - "migrationMappingPropertyHashes": { - "migrationVersion": "4a1746014a75ade3a714e1db5763276f", - "namespace": "2f4316de49999235636386fe51dc06c1", - "namespaces": "2f4316de49999235636386fe51dc06c1", - "originId": "2f4316de49999235636386fe51dc06c1", - "references": "7997cf5a56cc02bdc9c93361bde732b0", - "task": "235412e52d09e7165fac8a67a43ad6b4", - "type": "2f4316de49999235636386fe51dc06c1", - "updated_at": "00da57df13e94e9d98437d13ace4bfe0" - } - }, - "dynamic": "strict", - "properties": { - "migrationVersion": { - "dynamic": "true", - "properties": { - "task": { - "fields": { - "keyword": { - "ignore_above": 256, - "type": "keyword" - } - }, - "type": "text" - } - } - }, - "references": { - "properties": { - "id": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "type": { - "type": "keyword" - } - }, - "type": "nested" - }, - "task": { - "properties": { - "taskType": { - "type": "keyword" - }, - "scheduledAt": { - "type": "date" - }, - "runAt": { - "type": "date" - }, - "startedAt": { - "type": "date" - }, - "retryAt": { - "type": "date" - }, - "enabled": { - "type": "boolean" - }, - "schedule": { - "properties": { - "interval": { - "type": "keyword" - } - } - }, - "attempts": { - "type": "integer" - }, - "status": { - "type": "keyword" - }, - "traceparent": { - "type": "text" - }, - "params": { - "type": "text" - }, - "state": { - "type": "text" - }, - "user": { - "type": "keyword" - }, - "scope": { - "type": "keyword" - }, - "ownerId": { - "type": "keyword" - } - } - }, - "type": { - "type": "keyword" - }, - "updated_at": { - "type": "date" - } - } - }, - "settings": { - "index": { - "auto_expand_replicas": "0-1", - "number_of_replicas": "0", - "number_of_shards": "1" - } - } - } -} diff --git a/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management_scheduled_at.ts b/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management_scheduled_at.ts index 1a393b126dfda..a70225035d03c 100644 --- a/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management_scheduled_at.ts +++ b/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management_scheduled_at.ts @@ -14,8 +14,7 @@ export default function createTaskManagementScheduledAtTests({ getService }: Ftr const esArchiver = getService('esArchiver'); const retry = getService('retry'); - // FLAKY: https://github.com/elastic/kibana/issues/198664 - describe.skip('task management scheduled at', () => { + describe('task management scheduled at', () => { before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/task_manager_tasks'); });