forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix interchanged formats of total_indexing_buffer_in_bytes and total_…
…indexing_buffer (opensearch-project#17070) * Fix total_indexing_buffer_in_bytes and total_indexing_buffer formats swapped in nodes API Signed-off-by: hye-on <ain0103@naver.com> * Move changelog entry to CHANGELOG-3.0 and update PR reference to opensearch-project#17070 Signed-off-by: hye-on <ain0103@naver.com> --------- Signed-off-by: hye-on <ain0103@naver.com>
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...rc/main/resources/rest-api-spec/test/nodes.info/50_nodes_total_indexing_buffer_format.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
"Test total indexing buffer fields should have correct formats": | ||
- skip: | ||
version: " - 2.99.99" | ||
reason: "this change is added in 3.0.0" | ||
features: [arbitrary_key] | ||
|
||
- do: | ||
nodes.info: {} | ||
- set: | ||
nodes._arbitrary_key_: node_id | ||
|
||
- do: | ||
nodes.info: | ||
human: true | ||
filter_path: "nodes.*.total_indexing_buffer*" | ||
|
||
- gte: { nodes.$node_id.total_indexing_buffer_in_bytes: 0 } | ||
|
||
- match: | ||
nodes.$node_id.total_indexing_buffer: /^\d+(\.\d+)?(b|kb|mb|gb|tb|pb)$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters