@@ -65,6 +65,10 @@ def v7compatiblityNotSupportedTests = {
65
65
' mget/16_basic_with_types/Basic multi-get' ,
66
66
// asserting about type not found won't work as we ignore the type information
67
67
' explain/40_mix_typeless_typeful/Explain with typeless API on an index that has types' ,
68
+ // translog settings removal is not supported under compatible api
69
+ ' indices.stats/20_translog/Translog retention settings are deprecated' ,
70
+ ' indices.stats/20_translog/Translog retention without soft_deletes' ,
71
+ ' indices.stats/20_translog/Translog stats on closed indices without soft-deletes'
68
72
]
69
73
}
70
74
tasks. named(" yamlRestCompatTest" ). configure {
@@ -86,16 +90,6 @@ tasks.named("yamlRestCompatTest").configure {
86
90
' indices.put_template/11_basic_with_types/Put template with empty mappings' ,
87
91
' indices.shrink/30_copy_settings/Copy settings during shrink index' ,
88
92
' indices.split/30_copy_settings/Copy settings during split index' ,
89
- ' indices.stats/15_types/Types - _all metric' ,
90
- ' indices.stats/15_types/Types - indexing metric' ,
91
- ' indices.stats/15_types/Types - multi' ,
92
- ' indices.stats/15_types/Types - multi metric' ,
93
- ' indices.stats/15_types/Types - one' ,
94
- ' indices.stats/15_types/Types - pattern' ,
95
- ' indices.stats/15_types/Types - star' ,
96
- ' indices.stats/20_translog/Translog retention settings are deprecated' ,
97
- ' indices.stats/20_translog/Translog retention without soft_deletes' ,
98
- ' indices.stats/20_translog/Translog stats on closed indices without soft-deletes' ,
99
93
' indices.upgrade/10_basic/Basic test for upgrade indices' ,
100
94
' indices.upgrade/10_basic/Upgrade indices allow no indices' ,
101
95
' indices.upgrade/10_basic/Upgrade indices disallow no indices' ,
@@ -236,6 +230,17 @@ tasks.named("transformV7RestTests").configure({ task ->
236
230
task. replaceValueInMatch(" docs.0._type" , " _doc" , " IDs" )
237
231
task. replaceValueInMatch(" docs.1._type" , " _doc" , " IDs" )
238
232
task. replaceValueInMatch(" docs.2._type" , " _doc" , " Routing" )
233
+
234
+ // overrides for indices.stats
235
+ // TODO fix to remove the below match
236
+ task. replaceKeyInMatch(" _all.primaries.indexing.types.baz.index_total" ,
237
+ " _all.primaries.indexing.types._doc.index_total"
238
+ )
239
+ task. replaceKeyInMatch(" _all.primaries.indexing.types.bar.index_total" ,
240
+ " _all.primaries.indexing.types._doc.index_total"
241
+ )
242
+ task. replaceValueInMatch(" _all.primaries.indexing.types._doc.index_total" , 2 )
243
+
239
244
})
240
245
241
246
tasks. register(' enforceYamlTestConvention' ). configure {
0 commit comments