mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Enable requeue_invalid_tasks config for functional tests (#163768)
Makes isSystemAction field in RawConnector optional and enables `requeue_invalid_tasks` config for functional tests.
This commit is contained in:
parent
18d28fc42c
commit
9079b1c60b
3 changed files with 5 additions and 1 deletions
|
@ -109,3 +109,6 @@ xpack.actions.run.maxAttempts: 10
|
|||
|
||||
# Task Manager
|
||||
xpack.task_manager.allow_reading_invalid_state: false
|
||||
|
||||
## TaskManager requeue invalid tasks, supports ZDT
|
||||
xpack.task_manager.requeue_invalid_tasks.enabled: true
|
||||
|
|
|
@ -14,7 +14,7 @@ export const rawConnectorSchema = schema.object({
|
|||
config: schema.recordOf(schema.string(), schema.any()),
|
||||
secrets: schema.recordOf(schema.string(), schema.any()),
|
||||
isPreconfigured: schema.maybe(schema.boolean()),
|
||||
isSystemAction: schema.boolean(),
|
||||
isSystemAction: schema.maybe(schema.boolean()),
|
||||
id: schema.maybe(schema.string()),
|
||||
isDeprecated: schema.maybe(schema.boolean()),
|
||||
});
|
||||
|
|
|
@ -334,6 +334,7 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
|
|||
: []),
|
||||
'--notifications.connectors.default.email=notification-email',
|
||||
'--xpack.task_manager.allow_reading_invalid_state=false',
|
||||
'--xpack.task_manager.requeue_invalid_tasks.enabled=true',
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue