summaryrefslogtreecommitdiffstats
path: root/csit/tests/healthcheck
diff options
context:
space:
mode:
authorecaiyanlinux <martin.c.yan@est.tech>2021-02-24 20:11:18 +0100
committerecaiyanlinux <martin.c.yan@est.tech>2021-03-02 09:17:55 +0000
commit1668b5a62512993b0ae0650bdbff20ad67749fa5 (patch)
tree40971ce9b7b146a5d6ac95571aba33573e4c59e3 /csit/tests/healthcheck
parent5f2eb385c2902e270f68d52659d31097f6fa89b4 (diff)
Add csit in project repo
using scripts in the project repo for csit Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech> Issue-ID: CCSDK-3140 Change-Id: I08c0bbb55d6cd425c246362d40187738d26f2e43
Diffstat (limited to 'csit/tests/healthcheck')
-rw-r--r--csit/tests/healthcheck/__init__.robot2
-rw-r--r--csit/tests/healthcheck/test1.robot16
2 files changed, 18 insertions, 0 deletions
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