summaryrefslogtreecommitdiffstats
path: root/csit/tests
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-02-24 13:11:55 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-24 13:11:55 +0000
commit8c9b592e7e04d2d2a27c9da6befe7ea13aedadfd (patch)
tree50b462ea7345356b936919e8b512912680981b89 /csit/tests
parent5ecf25627589001888c68e9f413c28ccaac69c26 (diff)
parentaad224026765d4b39ac9dde3c30f138dd426f897 (diff)
Merge "Introduce CPS integration testing (CSIT)"
Diffstat (limited to 'csit/tests')
-rw-r--r--csit/tests/actuator/__init__.robot2
-rw-r--r--csit/tests/actuator/actuator.robot18
2 files changed, 20 insertions, 0 deletions
diff --git a/csit/tests/actuator/__init__.robot b/csit/tests/actuator/__init__.robot
new file mode 100644
index 0000000000..714f3c3c8e
--- /dev/null
+++ b/csit/tests/actuator/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation CPS - Actuator endpoints
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