aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-18 17:32:31 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-18 17:32:31 +0000
commitc30152842c3cc868e1b2e499604a27027b488931 (patch)
tree9aa40355148aa4a3f0fb39a18c922c77ce529b71 /test/csit/tests
parent17c9f477809c5999a243f578cee36d61c45fb971 (diff)
parent519f54ded1d38653f5f11ca95d4e927a2e057a3d (diff)
Merge "Create CSIT HealthCheck Test for SDNC"
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/sdnc/healthcheck/__init__.robot2
-rw-r--r--test/csit/tests/sdnc/healthcheck/test1.robot16
2 files changed, 18 insertions, 0 deletions
diff --git a/test/csit/tests/sdnc/healthcheck/__init__.robot b/test/csit/tests/sdnc/healthcheck/__init__.robot
new file mode 100644
index 000000000..8dac1b6ac
--- /dev/null
+++ b/test/csit/tests/sdnc/healthcheck/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation SDNC - healthcheck
diff --git a/test/csit/tests/sdnc/healthcheck/test1.robot b/test/csit/tests/sdnc/healthcheck/test1.robot
new file mode 100644
index 000000000..1adb9a6b3
--- /dev/null
+++ b/test/csit/tests/sdnc/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 SDNC
+ [Documentation] Health check
+ ${result_hc}= Run Process bash ${health_check} > log_hc.txt shell=yes
+ Should Be Equal As Integers ${result_hc.rc} 0
+
+