From d497d77dfc33accde0686bd1b734ec4ee6871b6b Mon Sep 17 00:00:00 2001 From: surya-huawei Date: Fri, 22 Sep 2017 18:58:26 +0530 Subject: 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 --- test/csit/tests/ccsdk/healthcheck/__init__.robot | 2 ++ test/csit/tests/ccsdk/healthcheck/test1.robot | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 test/csit/tests/ccsdk/healthcheck/__init__.robot create mode 100644 test/csit/tests/ccsdk/healthcheck/test1.robot (limited to 'test/csit/tests/ccsdk/healthcheck') 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 + + -- cgit 1.2.3-korg