summaryrefslogtreecommitdiffstats
path: root/csit/tests/actuator/actuator.robot
diff options
context:
space:
mode:
Diffstat (limited to 'csit/tests/actuator/actuator.robot')
-rw-r--r--csit/tests/actuator/actuator.robot18
1 files changed, 18 insertions, 0 deletions
diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot
new file mode 100644
index 0000000000..59c76073a3
--- /dev/null
+++ b/csit/tests/actuator/actuator.robot
@@ -0,0 +1,18 @@
+*** Settings ***
+Library OperatingSystem
+Library Process
+
+*** Variables ***
+
+${check} ${SCRIPTS}/actuator/check_endpoint.sh
+
+*** Test Cases ***
+Liveness Probe for CPS
+ [Documentation] Liveness Probe
+ ${result}= Run Process bash ${check} ${CPS_HOST}/manage/health/liveness >> actuator-test.log shell=yes
+ Should Be Equal As Integers ${result.rc} 0
+
+Readiness Probe for CPS
+ [Documentation] Readiness Probe
+ ${result}= Run Process bash ${check} ${CPS_HOST}/manage/health/readiness >> actuator-test.log shell=yes
+ Should Be Equal As Integers ${result.rc} 0