Move CSIT to integration/csit repo
[integration/csit.git] / tests / appc / healthcheck / test1.robot
1 *** Settings ***
2 Library           OperatingSystem
3 Library           Process
4
5 *** Variables ***
6
7 ${bundle_query}    ${SCRIPTS}/bundle_query.sh
8 ${health_check}    ${SCRIPTS}/health_check.sh
9 ${db_query}    ${SCRIPTS}/db_query.sh
10
11
12 *** Test Cases ***
13 Health check test case for APPC
14     [Documentation]   Health check
15     ${result_hc}=    Run Process   bash ${health_check} > log_hc.txt    shell=yes
16     Should Be Equal As Integers    ${result_hc.rc}    0
17
18 Query bundle test case for APPC
19     [Documentation]   Query bundles 
20     ${result_bq}=    Run Process   bash ${bundle_query} > log_bq.txt    shell=yes
21     Should Be Equal As Integers    ${result_bq.rc}    0
22
23 Query database test case for APPC
24     [Documentation]   Query database
25     ${result_db}=    Run Process   bash ${db_query} > log_db.txt    shell=yes
26     Should Be Equal As Integers    ${result_db.rc}    0
27