File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
x-pack/plugin/stack/src/yamlRestTest/resources/rest-api-spec/test/stack Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ setup:
263
263
name : .kibana-reporting-foo
264
264
265
265
---
266
- " Test wrong data_stream type " :
266
+ " Test wrong data_stream type - synthetics and metrics " :
267
267
268
268
- do :
269
269
catch : bad_request
@@ -278,19 +278,25 @@ setup:
278
278
- do :
279
279
catch : bad_request
280
280
index :
281
- index : logs -dataset0-namespace1
281
+ index : metrics -dataset0-namespace1
282
282
body :
283
283
" @timestamp " : " 2020-01-01"
284
- data_stream.type : " metrics "
284
+ data_stream.type : " synthetics "
285
285
data_stream.dataset : " dataset0"
286
286
data_stream.namespace : " namespace1"
287
287
288
- - do :
289
- catch : bad_request
288
+ ---
289
+ " Test wrong data_stream type - logs from 9.2.0 " :
290
+ - requires :
291
+ cluster_features : [ "gte_v9.1.99" ]
292
+ reason : " failure store is enabled by default for log data streams since 9.2.0"
293
+
294
+ - do :
290
295
index :
291
- index : metrics -dataset0-namespace1
296
+ index : logs -dataset0-namespace1
292
297
body :
293
298
" @timestamp " : " 2020-01-01"
294
- data_stream.type : " synthetics "
299
+ data_stream.type : " metrics "
295
300
data_stream.dataset : " dataset0"
296
301
data_stream.namespace : " namespace1"
302
+ - match : { failure_store: used }
You can’t perform that action at this time.
0 commit comments