summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraditya puthuparambil <aditya.puthuparambil@bell.ca>2022-01-27 14:03:06 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-27 14:03:06 +0000
commita5ce86d02493f141848f9d609c65883d2198894a (patch)
tree2379203da29741c4788f113b5a2bcd1a0648db9c
parent44644dec37be77c6d6940e1361cea831486927bc (diff)
parent055edffcc8928665f96e580234a165d7e4c98d39 (diff)
Merge "Added CPS enhanced health check"
-rw-r--r--csit/tests/actuator/actuator.robot14
1 files changed, 6 insertions, 8 deletions
diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot
index 2ee575e406..80617a3f8c 100644
--- a/csit/tests/actuator/actuator.robot
+++ b/csit/tests/actuator/actuator.robot
@@ -29,11 +29,9 @@ Suite Setup Create Session MANAGEMENT_URL http://${CPS_CORE_HOST
*** Test Cases ***
-Test Liveness Probe Endpoint
- ${response}= GET On Session MANAGEMENT_URL health/liveness expected_status=200
- Should Be Equal As Strings ${response.json()['status']} UP
-
-Test Readiness Probe Endpoint
- ${response}= GET On Session MANAGEMENT_URL health/readiness expected_status=200
- Should Be Equal As Strings ${response.json()['status']} UP
-
+Test CPS Enhanced Healthcheck
+ [Documentation] Runs CPS Health Check. It will check for overall status update of CPS component like, Database and diskspace status along with liveliness and readiness check
+ ${response}= GET On Session MANAGEMENT_URL health expected_status=200
+ ${resp_body}= Convert to string ${response.text}
+ Should Contain ${resp_body} UP
+ Should Not Contain ${resp_body} DOWN