[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:
Søren Louv-Jansen 2025-04-02 11:28:35 +02:00 committed by GitHub
parent 7b1d7bf08a
commit 8bcce2e89b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);