diff options
author | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-02-23 10:08:00 +0200 |
---|---|---|
committer | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-02-23 10:43:01 +0200 |
commit | aad224026765d4b39ac9dde3c30f138dd426f897 (patch) | |
tree | c24972bc22a02f2f2308437361c3c38f901c6c85 /csit/tests/actuator/actuator.robot | |
parent | 861ecab596c548d77cc18f1581a992159ada82ee (diff) |
Introduce CPS integration testing (CSIT)
Issue-ID: CPS-188
Change-Id: I4a225da73587d5276f302b05a0729d1127caddd9
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'csit/tests/actuator/actuator.robot')
-rw-r--r-- | csit/tests/actuator/actuator.robot | 18 |
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 |