Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-28 21:07:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-28 21:07:22 +0300
commit891529770382ed0591209570567f17605524ef39 (patch)
tree7901135d427b9aaa4a5a334fff6bf7b4bb343e5d /spec/requests/api/ml
parent20d52aa39ef79bc199e1459e385387baeb04d99f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/ml')
-rw-r--r--spec/requests/api/ml/mlflow_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/api/ml/mlflow_spec.rb b/spec/requests/api/ml/mlflow_spec.rb
index f9aac7149e0..fdf115f7e92 100644
--- a/spec/requests/api/ml/mlflow_spec.rb
+++ b/spec/requests/api/ml/mlflow_spec.rb
@@ -409,7 +409,7 @@ RSpec.describe API::Ml::Mlflow, feature_category: :mlops do
'experiment_id' => candidate.experiment.iid.to_s,
'user_id' => candidate.user.id.to_s,
'start_time' => candidate.start_time,
- 'artifact_uri' => "http://www.example.com/api/v4/projects/#{project_id}/packages/generic/ml_candidate_#{candidate.iid}/-/",
+ 'artifact_uri' => "http://www.example.com/api/v4/projects/#{project_id}/packages/generic/ml_candidate_#{candidate.id}/-/",
'status' => "RUNNING",
'lifecycle_stage' => "active"
}
@@ -428,8 +428,8 @@ RSpec.describe API::Ml::Mlflow, feature_category: :mlops do
{ 'key' => candidate.params[1].name, 'value' => candidate.params[1].value }
],
'tags' => [
- { 'key' => 'metadata_1', 'value' => 'value1' },
- { 'key' => 'metadata_2', 'value' => 'value2' }
+ { 'key' => candidate.metadata[0].name, 'value' => candidate.metadata[0].value },
+ { 'key' => candidate.metadata[1].name, 'value' => candidate.metadata[1].value }
]
})
end
@@ -452,7 +452,7 @@ RSpec.describe API::Ml::Mlflow, feature_category: :mlops do
'user_id' => candidate.user.id.to_s,
'start_time' => candidate.start_time,
'end_time' => params[:end_time],
- 'artifact_uri' => "http://www.example.com/api/v4/projects/#{project_id}/packages/generic/ml_candidate_#{candidate.iid}/-/",
+ 'artifact_uri' => "http://www.example.com/api/v4/projects/#{project_id}/packages/generic/ml_candidate_#{candidate.id}/-/",
'status' => 'FAILED',
'lifecycle_stage' => 'active'
}