summaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-09-16 16:25:35 +0530
committerramu.n <ramu.n@huawei.com>2017-09-16 16:25:35 +0530
commit519f54ded1d38653f5f11ca95d4e927a2e057a3d (patch)
tree6be7f4f178b9a29985c5c509154608f2a4f92585 /test/csit/tests
parentd8274c5c7dc7bfd6ec447d233e0d9ca50706548c (diff)
Create CSIT HealthCheck Test for SDNC
Adding initial changes for SDNC's CSIT HealthCheck Test. To execute it, run the command ./integration/test/csit/run-csit.sh plans/sdnc/healthcheck Change-Id: Ibbb471ff3427073c37e1fc53fe5a601f2e5ce754 Issue-Id: SDNC-82 Signed-off-by: Ramu N <ramu.n@huawei.com>
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
+
+