Skip to content

Commit 71e3bc7

Browse files
authored
[TEST] Assert that both time-series indexes are created (#100885) (#100896)
* Assert that both time-series indexes are created * Exclude from 8.7-8.10 mixedClusterTests * Restore asserts * Fix assert
1 parent cd22dcc commit 71e3bc7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/field_caps/40_time_series.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
setup:
33
- skip:
4-
version: " - 8.0.99"
5-
reason: introduced in 8.1.0
4+
version: " - 8.0.99, 8.7.00 - 8.9.99"
5+
reason: introduced in 8.1.0, synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests
66

77
- do:
88
indices.create:
@@ -176,6 +176,8 @@ setup:
176176
index: tsdb_index1,tsdb_index2
177177
fields: [ "metricset", "non_tsdb_field", "k8s.pod.*" ]
178178

179+
- length: {indices: 2}
180+
179181
- match: {fields.metricset.keyword.searchable: true}
180182
- match: {fields.metricset.keyword.aggregatable: true}
181183
- is_false: fields.metricset.keyword.time_series_dimension

0 commit comments

Comments
 (0)