summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/appc
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2017-09-12 14:03:37 -0400
committerAaron Hay <ah415j@att.com>2017-09-12 14:17:32 -0400
commit0f33e96f0a4186263a4ef1acb9292878e9636ca7 (patch)
treee06994e31c5f8381889f36da8bbf56badb52a97f /test/csit/tests/appc
parent0b08c9e236dfad21f3550e534608e0c640b728ba (diff)
db_query health check
Created db_query.sh which is executed by the test1.robot script to make sure the sdnctl and appcctl databases are in a healthy state. Change-Id: I90240db9f897e4fc86caf9975e18e208fe7e67ac Issue-ID: APPC-118 Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'test/csit/tests/appc')
-rw-r--r--test/csit/tests/appc/healthcheck/test1.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/csit/tests/appc/healthcheck/test1.robot b/test/csit/tests/appc/healthcheck/test1.robot
index 05eee5b84..8bd49860b 100644
--- a/test/csit/tests/appc/healthcheck/test1.robot
+++ b/test/csit/tests/appc/healthcheck/test1.robot
@@ -6,6 +6,7 @@ Library Process
${bundle_query} ${SCRIPTS}/bundle_query.sh
${health_check} ${SCRIPTS}/health_check.sh
+${db_query} ${SCRIPTS}/db_query.sh
*** Test Cases ***
@@ -19,4 +20,8 @@ Query bundle test case for APPC
${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