mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Obs AI Assistant] Skip lock tests in MKI temporarily (#216753)
Tests added in https://github.com/elastic/kibana/pull/216397 are failing on MKI. Skipping temporarily in the affected environment ### Error ``` └- ✖ fail: Serverless Observability - Deployment-agnostic API integration tests observability AI Assistant LockManager Basic lock operations acquires the lock when not held │ ResponseError: security_exception │ Root causes: │ security_exception: action [indices:admin/create] is unauthorized for user [testing-internal] with effective roles [superuser] on restricted indices [.kibana_locks-000001], this action is granted by the index privileges [create_index,manage,all] ``` ### Root cause ```ts const es = getService('es'); es.deleteByQuery({ index: '.kibana_locks-000001', query: { match_all: {} }}); ```
This commit is contained in:
parent
7b1d7bf08a
commit
8bcce2e89b
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ export default function ApiTest({ getService }: DeploymentAgnosticFtrProviderCon
|
|||
const logger = getLoggerMock(log);
|
||||
|
||||
describe('LockManager', function () {
|
||||
this.tags(['failsOnMKI']);
|
||||
before(async () => {
|
||||
await clearAllLocks(es);
|
||||
await ensureTemplatesAndIndexCreated(es);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue