|
1 | 1 | --- |
2 | 2 | "Test put batch data frame transforms on mixed cluster": |
3 | | - - skip: |
4 | | - version: "7.4.0 - " |
5 | | - reason: waiting backport of https://github.com/elastic/elasticsearch/pull/45276 |
6 | 3 | - do: |
7 | 4 | cluster.health: |
8 | 5 | index: "dataframe-transform-airline-data" |
|
32 | 29 | transform_id: "mixed-simple-transform" |
33 | 30 | - match: { count: 1 } |
34 | 31 | - match: { transforms.0.id: "mixed-simple-transform" } |
35 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
36 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
37 | | - # TODO: uncomment this assertion in master |
38 | | - #- match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
| 32 | + - match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
39 | 33 |
|
40 | 34 | - do: |
41 | 35 | data_frame.stop_data_frame_transform: |
|
48 | 42 | transform_id: "mixed-simple-transform" |
49 | 43 | - match: { count: 1 } |
50 | 44 | - match: { transforms.0.id: "mixed-simple-transform" } |
51 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
52 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
53 | | - # TODO: uncomment this assertion in master |
54 | | - #- match: { transforms.0.state: "stopped" } |
| 45 | + - match: { transforms.0.state: "stopped" } |
55 | 46 |
|
56 | 47 | - do: |
57 | 48 | data_frame.put_data_frame_transform: |
|
98 | 89 | transform_id: "mixed-complex-transform" |
99 | 90 | - match: { count: 1 } |
100 | 91 | - match: { transforms.0.id: "mixed-complex-transform" } |
101 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
102 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
103 | | - # TODO: uncomment this assertion in master |
104 | | - #- match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
| 92 | + - match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
105 | 93 |
|
106 | 94 | - do: |
107 | 95 | data_frame.stop_data_frame_transform: |
|
114 | 102 | transform_id: "mixed-complex-transform" |
115 | 103 | - match: { count: 1 } |
116 | 104 | - match: { transforms.0.id: "mixed-complex-transform" } |
117 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
118 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
119 | | - # TODO: uncomment this assertion in master |
120 | | - #- match: { transforms.0.state: "stopped" } |
| 105 | + - match: { transforms.0.state: "stopped" } |
121 | 106 |
|
122 | 107 | --- |
123 | 108 | "Test put continuous data frame transform on mixed cluster": |
124 | | - - skip: |
125 | | - version: "7.4.0 - " |
126 | | - reason: waiting backport of https://github.com/elastic/elasticsearch/pull/45276 |
127 | 109 | - do: |
128 | 110 | cluster.health: |
129 | 111 | index: "dataframe-transform-airline-data-cont" |
|
169 | 151 | transform_id: "mixed-simple-continuous-transform" |
170 | 152 | - match: { count: 1 } |
171 | 153 | - match: { transforms.0.id: "mixed-simple-continuous-transform" } |
172 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
173 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
174 | | - # TODO: uncomment this assertion in master |
175 | | - #- match: { transforms.0.state: "/started|indexing/" } |
| 154 | + - match: { transforms.0.state: "/started|indexing/" } |
176 | 155 |
|
177 | 156 | - do: |
178 | 157 | data_frame.stop_data_frame_transform: |
|
185 | 164 | transform_id: "mixed-simple-continuous-transform" |
186 | 165 | - match: { count: 1 } |
187 | 166 | - match: { transforms.0.id: "mixed-simple-continuous-transform" } |
188 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
189 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
190 | | - # TODO: uncomment this assertion in master |
191 | | - #- match: { transforms.0.state: "stopped" } |
| 167 | + - match: { transforms.0.state: "stopped" } |
192 | 168 |
|
193 | 169 | --- |
194 | 170 | "Test GET, start, and stop old cluster batch transforms": |
195 | | - - skip: |
196 | | - version: "7.4.0 - " |
197 | | - reason: waiting backport of https://github.com/elastic/elasticsearch/pull/45276 |
198 | 171 | - do: |
199 | 172 | cluster.health: |
200 | 173 | index: "dataframe-transform-airline-data" |
|
220 | 193 | transform_id: "old-simple-transform" |
221 | 194 | - match: { count: 1 } |
222 | 195 | - match: { transforms.0.id: "old-simple-transform" } |
223 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
224 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
225 | | - # TODO: uncomment this assertion in master |
226 | | - #- match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
| 196 | + - match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
227 | 197 |
|
228 | 198 | - do: |
229 | 199 | data_frame.stop_data_frame_transform: |
|
235 | 205 | transform_id: "old-simple-transform" |
236 | 206 | - match: { count: 1 } |
237 | 207 | - match: { transforms.0.id: "old-simple-transform" } |
238 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
239 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
240 | | - # TODO: uncomment this assertion in master |
241 | | - #- match: { transforms.0.state: "stopped" } |
| 208 | + - match: { transforms.0.state: "stopped" } |
242 | 209 |
|
243 | 210 | - do: |
244 | 211 | data_frame.get_data_frame_transform: |
|
262 | 229 | transform_id: "old-complex-transform" |
263 | 230 | - match: { count: 1 } |
264 | 231 | - match: { transforms.0.id: "old-complex-transform" } |
265 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
266 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
267 | | - # TODO: uncomment this assertion in master |
268 | | - #- match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
| 232 | + - match: { transforms.0.state: "/started|indexing|stopping|stopped/" } |
269 | 233 |
|
270 | 234 | - do: |
271 | 235 | data_frame.stop_data_frame_transform: |
|
277 | 241 | transform_id: "old-complex-transform" |
278 | 242 | - match: { count: 1 } |
279 | 243 | - match: { transforms.0.id: "old-complex-transform" } |
280 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
281 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
282 | | - # TODO: uncomment this assertion in master |
283 | | - #- match: { transforms.0.state: "stopped" } |
| 244 | + - match: { transforms.0.state: "stopped" } |
284 | 245 |
|
285 | 246 | --- |
286 | 247 | "Test GET, stop, start, old continuous transforms": |
287 | | - - skip: |
288 | | - version: "7.4.0 - " |
289 | | - reason: waiting backport of https://github.com/elastic/elasticsearch/pull/45276 |
290 | 248 | - do: |
291 | 249 | cluster.health: |
292 | 250 | index: "dataframe-transform-airline-data-cont" |
|
312 | 270 | transform_id: "old-simple-continuous-transform" |
313 | 271 | - match: { count: 1 } |
314 | 272 | - match: { transforms.0.id: "old-simple-continuous-transform" } |
315 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
316 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
317 | | - # TODO: uncomment this assertion in master |
318 | | - #- match: { transforms.0.state: "/started|indexing/" } |
| 273 | + - match: { transforms.0.state: "/started|indexing/" } |
319 | 274 |
|
320 | 275 | - do: |
321 | 276 | data_frame.stop_data_frame_transform: |
|
328 | 283 | transform_id: "old-simple-continuous-transform" |
329 | 284 | - match: { count: 1 } |
330 | 285 | - match: { transforms.0.id: "old-simple-continuous-transform" } |
331 | | - # Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot |
332 | | - # assert on state in the mixed cluster as it could be state at the top level or state.task_state |
333 | | - # TODO: uncomment this assertion in master |
334 | | - #- match: { transforms.0.state: "stopped" } |
| 286 | + - match: { transforms.0.state: "stopped" } |
0 commit comments