From 1668b5a62512993b0ae0650bdbff20ad67749fa5 Mon Sep 17 00:00:00 2001 From: ecaiyanlinux Date: Wed, 24 Feb 2021 20:11:18 +0100 Subject: Add csit in project repo using scripts in the project repo for csit Signed-off-by: ecaiyanlinux Issue-ID: CCSDK-3140 Change-Id: I08c0bbb55d6cd425c246362d40187738d26f2e43 --- csit/tests/healthcheck/__init__.robot | 2 ++ csit/tests/healthcheck/test1.robot | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 csit/tests/healthcheck/__init__.robot create mode 100644 csit/tests/healthcheck/test1.robot (limited to 'csit/tests') diff --git a/csit/tests/healthcheck/__init__.robot b/csit/tests/healthcheck/__init__.robot new file mode 100644 index 00000000..9f5c8d18 --- /dev/null +++ b/csit/tests/healthcheck/__init__.robot @@ -0,0 +1,2 @@ +*** Settings *** +Documentation NONRTRIC - healthcheck diff --git a/csit/tests/healthcheck/test1.robot b/csit/tests/healthcheck/test1.robot new file mode 100644 index 00000000..2aae2291 --- /dev/null +++ b/csit/tests/healthcheck/test1.robot @@ -0,0 +1,16 @@ +*** Settings *** +Library OperatingSystem +Library Process + +*** Variables *** + +${health_check} ${SCRIPTS}/healthcheck/test/health_check.sh + + +*** Test Cases *** + +Health check test case for NONRTRIC + [Documentation] Health check + Start Process ${health_check} >> log_hc.txt shell=yes + ${cli_cmd_output}= Wait For Process timeout=600 + Should Be Equal as Integers ${cli_cmd_output.rc} 0 -- cgit 1.2.3-korg