Skip to content

Commit 26f870e

Browse files
committed
refactor(sig-events): fix test
1 parent 543709c commit 26f870e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • x-pack/platform/test/api_integration_deployment_agnostic/apis/streams

x-pack/platform/test/api_integration_deployment_agnostic/apis/streams/queries.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
9191
{
9292
id: v4(),
9393
title: 'OutOfMemoryError',
94+
description: '',
9495
esql: {
9596
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("message:'OutOfMemoryError'")`,
9697
},
9798
},
9899
{
99100
id: v4(),
100101
title: 'cluster_block_exception',
102+
description: '',
101103
esql: {
102104
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("message:'cluster_block_exception'")`,
103105
},
@@ -130,6 +132,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
130132
const query = {
131133
id: v4(),
132134
title: 'initial title',
135+
description: '',
133136
esql: {
134137
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("message:'initial query'")`,
135138
},
@@ -191,6 +194,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
191194
{
192195
id: query.id,
193196
title: query.title,
197+
description: '',
194198
esql: { query: updatedEsql },
195199
},
196200
]);
@@ -235,6 +239,7 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
235239
{
236240
id: query.id,
237241
title: 'updated title',
242+
description: '',
238243
esql: { query: query.esql.query },
239244
},
240245
]);
@@ -290,20 +295,23 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
290295
const firstQuery = {
291296
id: 'first',
292297
title: 'first query',
298+
description: '',
293299
esql: {
294300
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("query 1")`,
295301
},
296302
};
297303
const secondQuery = {
298304
id: 'second',
299305
title: 'second query',
306+
description: '',
300307
esql: {
301308
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("query 2")`,
302309
},
303310
};
304311
const thirdQuery = {
305312
id: 'third',
306313
title: 'third query',
314+
description: '',
307315
esql: {
308316
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("query 3")`,
309317
},
@@ -318,13 +326,15 @@ export default function ({ getService }: DeploymentAgnosticFtrProviderContext) {
318326
const newQuery = {
319327
id: 'fourth',
320328
title: 'fourth query',
329+
description: '',
321330
esql: {
322331
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("query 4")`,
323332
},
324333
};
325334
const updateThirdQuery = {
326335
id: 'third',
327336
title: 'third query',
337+
description: '',
328338
esql: {
329339
query: `FROM ${STREAM_NAME},${STREAM_NAME}.* METADATA _id, _source | WHERE KQL("query 3 updated")`,
330340
},

0 commit comments

Comments
 (0)