Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Memory CB flaky error in ML APIs #788

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed ingest API schemas ([#766](https://github.com/opensearch-project/opensearch-api-specification/pull/766))
- Fixed CAT API schemas ([#769](https://github.com/opensearch-project/opensearch-api-specification/pull/769))
- Fixed core API schemas ([#777](https://github.com/opensearch-project/opensearch-api-specification/pull/777))
- Fixed Memory Circuit Breaker flaky test in ML Model APIs ([#782](https://github.com/opensearch-project/opensearch-api-specification/pull/782))
- Fixed Memory Circuit Breaker flaky error in ML APIs ([#788](https://github.com/opensearch-project/opensearch-api-specification/pull/788))

### Changed
- Changed `tasks._common:TaskInfo` and `tasks._common:TaskGroup` to be composed of a `tasks._common:TaskInfoBase` ([#683](https://github.com/opensearch-project/opensearch-api-specification/pull/683))
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/controller/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/controller/delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/controller/get.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/controller/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/models/load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/models/predict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
persistent:
plugins.ml_commons.only_run_on_ml_node: false
plugins.ml_commons.model_access_control_enabled: true
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/model_groups/_register
id: create_model_group
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/models/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/models/undeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prologues:
payload:
persistent:
plugins.ml_commons.allow_custom_deployment_plan: true
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/models/unload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prologues:
payload:
persistent:
plugins.ml_commons.allow_custom_deployment_plan: true
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
- path: /_plugins/_ml/models/_register
id: register_model
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/ml/ml/models/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ prologues:
request:
payload:
persistent:
plugins.ml_commons.native_memory_threshold: 100
plugins.ml_commons.jvm_heap_memory_threshold: 100
epilogues:
- path: /_plugins/_ml/tasks/{task_id}
id: get_completed_task
Expand Down
Loading