summaryrefslogtreecommitdiffstats
path: root/csit/tests
diff options
context:
space:
mode:
Diffstat (limited to 'csit/tests')
-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