Aaron Hay | 5a7cb08 | 2017-08-21 19:09:35 +0000 | [diff] [blame] | 1 | *** Settings *** |
Aaron Hay | db1e9c5 | 2017-08-24 15:06:59 +0000 | [diff] [blame] | 2 | Library OperatingSystem |
| 3 | Library Process |
| 4 | |
| 5 | *** Variables *** |
| 6 | |
| 7 | ${bundle_query} ${SCRIPTS}/bundle_query.sh |
| 8 | ${health_check} ${SCRIPTS}/health_check.sh |
Aaron Hay | 0f33e96 | 2017-09-12 14:03:37 -0400 | [diff] [blame] | 9 | ${db_query} ${SCRIPTS}/db_query.sh |
Aaron Hay | 5a7cb08 | 2017-08-21 19:09:35 +0000 | [diff] [blame] | 10 | |
| 11 | |
| 12 | *** Test Cases *** |
Aaron Hay | db1e9c5 | 2017-08-24 15:06:59 +0000 | [diff] [blame] | 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 | |
Aaron Hay | 0f33e96 | 2017-09-12 14:03:37 -0400 | [diff] [blame] | 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 |
Aaron Hay | db1e9c5 | 2017-08-24 15:06:59 +0000 | [diff] [blame] | 27 | |