mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Response Ops] Fix Task Manager Schedule Flaky Test (#201732)
## Summary Issue: https://github.com/elastic/kibana/issues/198664 Fixes task manager schedule flaky test according to guidance posted here: https://github.com/elastic/kibana/issues/161882 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
4215a637da
commit
cdd1ba9b00
3 changed files with 19 additions and 159 deletions
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue