[TEST] Allow kb or mb for data frame analytics memory estimate (#54869)
This change is to support the switch from kb to mb being made in https://github.com/elastic/ml-cpp/pull/1126
This commit is contained in:
parent
f3a0018175
commit
8f2ddaee1a
|
@ -126,9 +126,9 @@
|
||||||
source: { index: "index-source" }
|
source: { index: "index-source" }
|
||||||
analysis: { outlier_detection: {} }
|
analysis: { outlier_detection: {} }
|
||||||
- match:
|
- match:
|
||||||
memory_estimation.expected_memory_without_disk: / \dkb /
|
memory_estimation.expected_memory_without_disk: / \d[km]b /
|
||||||
- match:
|
- match:
|
||||||
memory_estimation.expected_memory_with_disk: / \dkb /
|
memory_estimation.expected_memory_with_disk: / \d[km]b /
|
||||||
- length: { field_selection: 2 }
|
- length: { field_selection: 2 }
|
||||||
- match: { field_selection.0.name: "x" }
|
- match: { field_selection.0.name: "x" }
|
||||||
- match: { field_selection.0.mapping_types: ["float"] }
|
- match: { field_selection.0.mapping_types: ["float"] }
|
||||||
|
@ -156,9 +156,9 @@
|
||||||
source: { index: "index-source" }
|
source: { index: "index-source" }
|
||||||
analysis: { outlier_detection: {} }
|
analysis: { outlier_detection: {} }
|
||||||
- match:
|
- match:
|
||||||
memory_estimation.expected_memory_without_disk: / \dkb /
|
memory_estimation.expected_memory_without_disk: / \d[km]b /
|
||||||
- match:
|
- match:
|
||||||
memory_estimation.expected_memory_with_disk: / \dkb /
|
memory_estimation.expected_memory_with_disk: / \d[km]b /
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
|
@ -173,9 +173,9 @@
|
||||||
source: { index: "index-source" }
|
source: { index: "index-source" }
|
||||||
analysis: { outlier_detection: {} }
|
analysis: { outlier_detection: {} }
|
||||||
- match:
|
- match:
|
||||||
memory_estimation.expected_memory_without_disk: / \dkb /
|
memory_estimation.expected_memory_without_disk: / \d[km]b /
|
||||||
- match:
|
- match:
|
||||||
memory_estimation.expected_memory_with_disk: / \dkb /
|
memory_estimation.expected_memory_with_disk: / \d[km]b /
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test field_selection given body":
|
"Test field_selection given body":
|
||||||
|
|
Loading…
Reference in New Issue