Skip to content

Commit ba9cb6b

Browse files
committed
fix molecule
1 parent e7c054a commit ba9cb6b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

molecule/default/tasks/1_0_health_check_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
ansible.builtin.assert:
3232
that:
3333
- service_host_response.status == 200
34-
- service_host_response.json.status == 'good'
35-
fail_msg: /check endpoint did not return expected response. Expected HTTP200, GOOD.
34+
- service_host_response.json.status == 'ok'
35+
fail_msg: /check endpoint did not return expected response. Expected HTTP200, OK.

molecule/default/tasks/2_0_model_config_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
- name: Assert original model_id response
2929
ansible.builtin.assert:
3030
that:
31-
- service_host_response.status == 200
32-
- service_host_response.json.status == 'good'
31+
- service_host_response.status == 200
32+
- service_host_response.json.status == 'ok'
3333
- service_host_response.json.model_id== 'my-ai-model_id'
3434
fail_msg: /check/status did not return expected model_id. Expected 'my-ai-model_id'.
3535

@@ -48,7 +48,7 @@
4848
ansible.builtin.assert:
4949
that:
5050
- updated_service_host_response.status == 200
51-
- updated_service_host_response.json.status == 'good'
51+
- updated_service_host_response.json.status == 'ok'
5252
- updated_service_host_response.json.model_id == 'updated__my-ai-model_id'
5353
- not updated_service_host_response.json.model_verify_ssl|bool
5454
- not updated_service_host_response.json.model_enable_anonymization|bool

molecule/default/tasks/4_0_model_pipeline_config_optional_model_config_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
- name: Assert Health Check response
3333
ansible.builtin.assert:
3434
that:
35-
- service_host_response.status == 200
36-
- service_host_response.json.status == 'good'
37-
fail_msg: /check endpoint did not return expected response. Expected HTTP200, GOOD.
35+
- service_host_response.status == 200
36+
- service_host_response.json.status == 'ok'
37+
fail_msg: /check endpoint did not return expected response. Expected HTTP200, OK.

molecule/default/tasks/5_0_optional_auth_config_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
- name: Assert Health Check response
3333
ansible.builtin.assert:
3434
that:
35-
- service_host_response.status == 200
36-
- service_host_response.json.status == 'good'
37-
fail_msg: /check endpoint did not return expected response. Expected HTTP200, GOOD.
35+
- service_host_response.status == 200
36+
- service_host_response.json.status == 'ok'
37+
fail_msg: /check endpoint did not return expected response. Expected HTTP200, OK.

0 commit comments

Comments
 (0)