summaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-22 14:51:59 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-22 14:51:59 +0000
commit8a984bcdd1118c15723fc18dc737a609eb6978c9 (patch)
tree9ce8426acd4ed517a6e847e9a3a521b6b7f03f05 /test/csit/tests
parentcea3c28d5cd438c872db8b4e083726ac94f548d3 (diff)
parentd497d77dfc33accde0686bd1b734ec4ee6871b6b (diff)
Merge "Create CSIT HealthCheck Test for CCSDK"
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/ccsdk/healthcheck/__init__.robot2
-rw-r--r--test/csit/tests/ccsdk/healthcheck/test1.robot16
2 files changed, 18 insertions, 0 deletions
diff --git a/test/csit/tests/ccsdk/healthcheck/__init__.robot b/test/csit/tests/ccsdk/healthcheck/__init__.robot
new file mode 100644
index 000000000..1259b8900
--- /dev/null
+++ b/test/csit/tests/ccsdk/healthcheck/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation CCSDK - healthcheck
diff --git a/test/csit/tests/ccsdk/healthcheck/test1.robot b/test/csit/tests/ccsdk/healthcheck/test1.robot
new file mode 100644
index 000000000..3c81d7055
--- /dev/null
+++ b/test/csit/tests/ccsdk/healthcheck/test1.robot
@@ -0,0 +1,16 @@
+*** Settings ***
+Library OperatingSystem
+Library Process
+
+*** Variables ***
+
+${health_check} ${SCRIPTS}/health_check.sh
+
+
+*** Test Cases ***
+Health check test case for CCSDK
+ [Documentation] Health check
+ ${result_hc}= Run Process bash ${health_check} > log_hc.txt shell=yes
+ Should Be Equal As Integers ${result_hc.rc} 0
+
+