summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/appc/healthcheck_amsterdam/test1.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-16 01:03:51 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-16 01:03:51 +0000
commit2e11bbcbfcb5e7fa53a42e451fec7691a7690435 (patch)
tree587b2c0644d6298a823a8afc9b08460bda9a9880 /test/csit/tests/appc/healthcheck_amsterdam/test1.robot
parent34e62ce1b4b22fa238b85755b452426956dbf224 (diff)
parent918421d8d0bc97be6c9315cceff7563169250509 (diff)
Merge "Updating APPC CSIT release support"
Diffstat (limited to 'test/csit/tests/appc/healthcheck_amsterdam/test1.robot')
-rw-r--r--test/csit/tests/appc/healthcheck_amsterdam/test1.robot27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/csit/tests/appc/healthcheck_amsterdam/test1.robot b/test/csit/tests/appc/healthcheck_amsterdam/test1.robot
new file mode 100644
index 000000000..8bd49860b
--- /dev/null
+++ b/test/csit/tests/appc/healthcheck_amsterdam/test1.robot
@@ -0,0 +1,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
+