Commit 3715ca7
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Data Streams] Fix forward-compatibility api test failures
(#224795)](#224795)
<!--- Backport version: 10.0.1 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Sonia Sanz
Vivas","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-25T11:55:46Z","message":"[Data
Streams] Fix forward-compatibility api test failures (#224795)\n\nFixes
https://github.com/elastic/kibana/issues/223990\n\n## Summary\n\nThis PR
fixes the forward-compatibility test for index mode, which\nfailed
because the index mode was added to Get Data Streams API in 8.19\nand
9.1 (see elastic/elasticsearch#122486), so\nif
Kibana 8.19 is run with Es 9.0, the index mode is always displayed
as\n\"Standard\" because Es doesn't return an index mode field.\n\nIn
this PR, we separate all index mode-related tests into a separate\nfile,
and only run it for Es versions 8.19 or 9.1+.\n\nThis was also fixed for
functional tests
in\nhttps://github.com//pull/223129\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"493ca9f1061ab1e451741c6875107d8d16953d23","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana Management","release_note:skip","backport
missing","backport:version","v9.1.0","v8.19.0"],"title":"[Data Streams]
Fix forward-compatibility api test
failures","number":224795,"url":"https://github.com/elastic/kibana/pull/224795","mergeCommit":{"message":"[Data
Streams] Fix forward-compatibility api test failures (#224795)\n\nFixes
https://github.com/elastic/kibana/issues/223990\n\n## Summary\n\nThis PR
fixes the forward-compatibility test for index mode, which\nfailed
because the index mode was added to Get Data Streams API in 8.19\nand
9.1 (see elastic/elasticsearch#122486), so\nif
Kibana 8.19 is run with Es 9.0, the index mode is always displayed
as\n\"Standard\" because Es doesn't return an index mode field.\n\nIn
this PR, we separate all index mode-related tests into a separate\nfile,
and only run it for Es versions 8.19 or 9.1+.\n\nThis was also fixed for
functional tests
in\nhttps://github.com//pull/223129\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"493ca9f1061ab1e451741c6875107d8d16953d23"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224795","number":224795,"mergeCommit":{"message":"[Data
Streams] Fix forward-compatibility api test failures (#224795)\n\nFixes
https://github.com/elastic/kibana/issues/223990\n\n## Summary\n\nThis PR
fixes the forward-compatibility test for index mode, which\nfailed
because the index mode was added to Get Data Streams API in 8.19\nand
9.1 (see elastic/elasticsearch#122486), so\nif
Kibana 8.19 is run with Es 9.0, the index mode is always displayed
as\n\"Standard\" because Es doesn't return an index mode field.\n\nIn
this PR, we separate all index mode-related tests into a separate\nfile,
and only run it for Es versions 8.19 or 9.1+.\n\nThis was also fixed for
functional tests
in\nhttps://github.com//pull/223129\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"493ca9f1061ab1e451741c6875107d8d16953d23"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
---------
Co-authored-by: Damian Polewski <[email protected]>
Co-authored-by: Damian Polewski <[email protected]>
1 parent 106c69d commit 3715ca7
File tree
3 files changed
+97
-76
lines changed- x-pack/platform/test/api_integration/apis/management/index_management
3 files changed
+97
-76
lines changedLines changed: 0 additions & 76 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 172 | | |
249 | 173 | | |
250 | 174 | | |
| |||
Lines changed: 96 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments