File tree 6 files changed +26
-1
lines changed
tests/plugins/ml/ml/models
6 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ $schema: ../../../../../json_schemas/test_story.schema.yaml
2
2
3
3
description : Test the deployment of a model using deprecated load API.
4
4
prologues :
5
+ - path : /_cluster/settings
6
+ method : PUT
7
+ request :
8
+ payload :
9
+ persistent :
10
+ plugins.ml_commons.native_memory_threshold : 100
5
11
- path : /_plugins/_ml/models/_register
6
12
id : register_model
7
13
method : POST
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ prologues:
10
10
persistent :
11
11
plugins.ml_commons.only_run_on_ml_node : false
12
12
plugins.ml_commons.model_access_control_enabled : true
13
- plugins.ml_commons.native_memory_threshold : 99
13
+ plugins.ml_commons.native_memory_threshold : 100
14
14
- path : /_plugins/_ml/model_groups/_register
15
15
id : create_model_group
16
16
method : POST
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ $schema: ../../../../../json_schemas/test_story.schema.yaml
3
3
description : Test the search of models.
4
4
version : ' >= 2.7'
5
5
prologues :
6
+ - path : /_cluster/settings
7
+ method : PUT
8
+ request :
9
+ payload :
10
+ persistent :
11
+ plugins.ml_commons.native_memory_threshold : 100
6
12
- path : /_plugins/_ml/models/_register
7
13
id : register_model
8
14
method : POST
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ prologues:
9
9
payload :
10
10
persistent :
11
11
plugins.ml_commons.allow_custom_deployment_plan : true
12
+ plugins.ml_commons.native_memory_threshold : 100
12
13
- path : /_plugins/_ml/models/_register
13
14
id : register_model
14
15
method : POST
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ prologues:
8
8
payload :
9
9
persistent :
10
10
plugins.ml_commons.allow_custom_deployment_plan : true
11
+ plugins.ml_commons.native_memory_threshold : 100
11
12
- path : /_plugins/_ml/models/_register
12
13
id : register_model
13
14
method : POST
Original file line number Diff line number Diff line change 1
1
$schema : ../../../../../json_schemas/test_story.schema.yaml
2
2
3
3
description : Test the creation of models using upload API (deprecated).
4
+ prologues :
5
+ - path : /_cluster/settings
6
+ method : PUT
7
+ request :
8
+ payload :
9
+ persistent :
10
+ plugins.ml_commons.native_memory_threshold : 100
4
11
epilogues :
5
12
- path : /_plugins/_ml/tasks/{task_id}
6
13
id : get_completed_task
@@ -10,6 +17,10 @@ epilogues:
10
17
retry :
11
18
count : 3
12
19
wait : 10000
20
+ response :
21
+ status : 200
22
+ payload :
23
+ status : COMPLETED
13
24
output :
14
25
model_id : payload.model_id
15
26
- path : /_plugins/_ml/models/{model_id}
You can’t perform that action at this time.
0 commit comments