File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
x-pack/plugin/src/test/resources/rest-api-spec/test/ml Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 102102---
103103" Test non-empty data frame given body " :
104104
105- - skip :
106- version : " all"
107- reason : " AwaitsFix https://github.com/elastic/ml-cpp/pull/1003"
108-
109105 - do :
110106 indices.create :
111107 index : index-source
129125 body :
130126 source : { index: "index-source" }
131127 analysis : { outlier_detection: {} }
132- - match : { memory_estimation.expected_memory_without_disk: "3kb" }
133- - 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 /
134132 - length : { field_selection: 2 }
135133 - match : { field_selection.0.name: "x" }
136134 - match : { field_selection.0.mapping_types: ["float"] }
157155 body :
158156 source : { index: "index-source" }
159157 analysis : { outlier_detection: {} }
160- - match : { memory_estimation.expected_memory_without_disk: "4kb" }
161- - 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 /
162162
163163 - do :
164164 index :
172172 body :
173173 source : { index: "index-source" }
174174 analysis : { outlier_detection: {} }
175- - match : { memory_estimation.expected_memory_without_disk: "6kb" }
176- - 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 /
177179
178180---
179181" Test field_selection given body " :
You can’t perform that action at this time.
0 commit comments