File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
x-pack/plugin/src/test/resources/rest-api-spec/test/ml Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 125125 body :
126126 source : { index: "index-source" }
127127 analysis : { outlier_detection: {} }
128- - match : { memory_estimation.expected_memory_without_disk: "3kb" }
129- - match : { memory_estimation.expected_memory_with_disk: "3kb" }
128+ - match :
129+ memory_estimation.expected_memory_without_disk : / \dkb /
130+ - match :
131+ memory_estimation.expected_memory_with_disk : / \dkb /
130132 - length : { field_selection: 2 }
131133 - match : { field_selection.0.name: "x" }
132134 - match : { field_selection.0.mapping_types: ["float"] }
153155 body :
154156 source : { index: "index-source" }
155157 analysis : { outlier_detection: {} }
156- - match : { memory_estimation.expected_memory_without_disk: "4kb" }
157- - match : { memory_estimation.expected_memory_with_disk: "4kb" }
158+ - match :
159+ memory_estimation.expected_memory_without_disk : / \dkb /
160+ - match :
161+ memory_estimation.expected_memory_with_disk : / \dkb /
158162
159163 - do :
160164 index :
168172 body :
169173 source : { index: "index-source" }
170174 analysis : { outlier_detection: {} }
171- - match : { memory_estimation.expected_memory_without_disk: "6kb" }
172- - match : { memory_estimation.expected_memory_with_disk: "5kb" }
175+ - match :
176+ memory_estimation.expected_memory_without_disk : / \dkb /
177+ - match :
178+ memory_estimation.expected_memory_with_disk : / \dkb /
173179
174180---
175181" Test field_selection given body " :
You can’t perform that action at this time.
0 commit comments