From 519f54ded1d38653f5f11ca95d4e927a2e057a3d Mon Sep 17 00:00:00 2001 From: "ramu.n" Date: Sat, 16 Sep 2017 16:25:35 +0530 Subject: 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 --- test/csit/tests/sdnc/healthcheck/__init__.robot | 2 ++ test/csit/tests/sdnc/healthcheck/test1.robot | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 test/csit/tests/sdnc/healthcheck/__init__.robot create mode 100644 test/csit/tests/sdnc/healthcheck/test1.robot (limited to 'test/csit/tests') 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 + + -- cgit 1.2.3-korg