summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/appc/healthcheck/test1.robot
blob: 8bd49860beec8e9d5f08718481eccb03f9f77c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*** Settings ***
Library           OperatingSystem
Library           Process

*** Variables ***

${bundle_query}    ${SCRIPTS}/bundle_query.sh
${health_check}    ${SCRIPTS}/health_check.sh
${db_query}    ${SCRIPTS}/db_query.sh


*** Test Cases ***
Health check test case for APPC
    [Documentation]   Health check
    ${result_hc}=    Run Process   bash ${health_check} > log_hc.txt    shell=yes
    Should Be Equal As Integers    ${result_hc.rc}    0

Query bundle test case for APPC
    [Documentation]   Query bundles 
    ${result_bq}=    Run Process   bash ${bundle_query} > log_bq.txt    shell=yes
    Should Be Equal As Integers    ${result_bq.rc}    0

Query database test case for APPC
    [Documentation]   Query database
    ${result_db}=    Run Process   bash ${db_query} > log_db.txt    shell=yes
    Should Be Equal As Integers    ${result_db.rc}    0