mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Set serverless and test setting for task manager state validation (#163743)
Part of https://github.com/elastic/kibana/issues/155764. In this PR, I'm setting the `xpack.task_manager.allow_reading_invalid_state` serverless setting to `false` so Kibana doesn't allow reading invalid state when loading tasks. I'm also doing the same for the functional tests to ensure valid task state is always read. --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
75d27adffc
commit
fd389ce372
2 changed files with 4 additions and 0 deletions
|
@ -106,3 +106,6 @@ xpack.alerting.rules.run.ruleTypeOverrides:
|
|||
timeout: 1m
|
||||
xpack.alerting.rules.minimumScheduleInterval.enforce: true
|
||||
xpack.actions.run.maxAttempts: 10
|
||||
|
||||
# Task Manager
|
||||
xpack.task_manager.allow_reading_invalid_state: false
|
||||
|
|
|
@ -333,6 +333,7 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
|
|||
]
|
||||
: []),
|
||||
'--notifications.connectors.default.email=notification-email',
|
||||
'--xpack.task_manager.allow_reading_invalid_state=false',
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue