Skip to content

Commit 52f85dc

Browse files
authored
Split null/empty chunking_settings YAML tests (#136023) (#136118)
1 parent ad7ca60 commit 52f85dc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/25_semantic_text_field_mapping_chunking.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ setup:
188188
- match: { "none-chunking-dense.mappings.properties.inference_field.chunking_settings.strategy": "none" }
189189

190190
---
191-
"We do not set custom chunking settings for null or empty specified chunking settings":
191+
"We do not set custom chunking settings for null chunking settings":
192192

193193
- do:
194194
indices.create:
@@ -207,6 +207,8 @@ setup:
207207

208208
- not_exists: null-chunking.mappings.properties.inference_field.chunking_settings
209209

210+
---
211+
"We do not set custom chunking settings for empty specified chunking settings":
210212

211213
- do:
212214
indices.create:

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/25_semantic_text_field_mapping_chunking_bwc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ setup:
198198
- match: { "none-chunking-dense.mappings.properties.inference_field.chunking_settings.strategy": "none" }
199199

200200
---
201-
"We do not set custom chunking settings for null or empty specified chunking settings":
201+
"We do not set custom chunking settings for null chunking settings":
202202

203203
- do:
204204
indices.create:
@@ -219,6 +219,8 @@ setup:
219219

220220
- not_exists: null-chunking.mappings.properties.inference_field.chunking_settings
221221

222+
---
223+
"We do not set custom chunking settings for empty specified chunking settings":
222224

223225
- do:
224226
indices.create:

0 commit comments

Comments
 (0)