summaryrefslogtreecommitdiffstats
path: root/csit/tests/actuator/actuator.robot
blob: 59c76073a3c23c2539b49cc9c0b8ab0d6d52cbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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