Commit 66cddbc
committed
Fix CrossClusterReplicationFollowTests integration test
Relates: elastic/elasticsearch#36647
This commit fixes the CrossClusterReplicationFollowTests to make assertions based on the
Elasticsearch version under test.
The follower stats API response behaviour changed from 6.5.3 to 6.5.4 - in 6.5.3 and previous, a request to e.g.
GET /<indexname>/_ccr/stats
returns in the `"indices"` array a collection of indices including `<indexname>` but also including other indices that are not `<indexname>` (and are not even a wildcard match for it).
In 6.5.4 and above, that call returns only the single index named `<indexname>` in the `"indices"` array.1 parent 7432a72 commit 66cddbc
File tree
1 file changed
+10
-4
lines changed- src/Tests/Tests/XPack/CrossClusterReplication
1 file changed
+10
-4
lines changedLines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
203 | 209 | | |
204 | 210 | | |
205 | 211 | | |
| |||
222 | 228 | | |
223 | 229 | | |
224 | 230 | | |
225 | | - | |
| 231 | + | |
226 | 232 | | |
227 | | - | |
| 233 | + | |
228 | 234 | | |
229 | 235 | | |
230 | 236 | | |
| |||
263 | 269 | | |
264 | 270 | | |
265 | 271 | | |
266 | | - | |
| 272 | + | |
267 | 273 | | |
268 | 274 | | |
269 | 275 | | |
| |||
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
293 | | - | |
| 299 | + | |
294 | 300 | | |
295 | 301 | | |
296 | 302 | | |
| |||
0 commit comments