summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/ccsdk
diff options
context:
space:
mode:
authorsurya-huawei <a.u.surya@huawei.com>2017-09-22 18:58:26 +0530
committersurya-huawei <a.u.surya@huawei.com>2017-09-22 19:03:45 +0530
commitd497d77dfc33accde0686bd1b734ec4ee6871b6b (patch)
tree1b10672d33a3863e69048a683fb2b628370b5781 /test/csit/tests/ccsdk
parent8e0ec2e5b586c89563014203858f50a664453734 (diff)
Create CSIT HealthCheck Test for CCSDK
Adding intital changes for CCSDK's CSIT HealthCheck Test To execute it, run the command: ./integration/test/csit/run-csit.sh plans/ccsdk/healthcheck *currently test case fails due to sli startup failure Issue-Id: CCSDK-103 Change-Id: I4367b0ade16e189730630c14db270d687271b9c7 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Diffstat (limited to 'test/csit/tests/ccsdk')
-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
+
+