summaryrefslogtreecommitdiffstats
path: root/csit/tests
diff options
context:
space:
mode:
Diffstat (limited to 'csit/tests')
-rw-r--r--csit/tests/healthcheck/test1.robot11
-rw-r--r--csit/tests/healthcheck/test2.robot13
-rw-r--r--csit/tests/healthcheck/test3.robot13
3 files changed, 23 insertions, 14 deletions
diff --git a/csit/tests/healthcheck/test1.robot b/csit/tests/healthcheck/test1.robot
index e65928a3..a8eba153 100644
--- a/csit/tests/healthcheck/test1.robot
+++ b/csit/tests/healthcheck/test1.robot
@@ -5,12 +5,15 @@ Library Process
*** Variables ***
${health_check} ${SCRIPTS}/healthcheck/test/health_check.sh
-
+${test1_stdout} ${OUTPUT_DIR}/test1_healthcheck_STDOUT.log
+${test1_stderr} ${OUTPUT_DIR}/test1_healthcheck_STDERR.log
*** Test Cases ***
Health check test case for NONRTRIC
- [Documentation] Health check
- ${cli_cmd_output}= Run Process ${health_check}
- Log ${cli_cmd_output.stdout}
+ [Documentation] Health check - Test 1
+ Log Variables
+ ${cli_cmd_output}= Run Process ${health_check} shell=no stdout=${test1_stdout} stderr=${test1_stderr}
+ Log Many Standard output: ${test1_stdout} ${\n} ${cli_cmd_output.stdout}
+ Log Many Standard error: ${test1_stderr} ${\n} ${cli_cmd_output.stderr}
Should Be Equal as Integers ${cli_cmd_output.rc} 0
diff --git a/csit/tests/healthcheck/test2.robot b/csit/tests/healthcheck/test2.robot
index 98151693..ae51982e 100644
--- a/csit/tests/healthcheck/test2.robot
+++ b/csit/tests/healthcheck/test2.robot
@@ -4,13 +4,16 @@ Library Process
*** Variables ***
-${pms_a1sim} ${SCRIPTS}/healthcheck/test/pms_a1sim.sh
-
+${pms_a1sim} ${SCRIPTS}/healthcheck/test/pms_a1sim.sh
+${test2_stdout} ${OUTPUT_DIR}/test2_pms_a1sim_STDOUT.log
+${test2_stderr} ${OUTPUT_DIR}/test2_pms_a1sim_STDERR.log
*** Test Cases ***
Health check test case for NONRTRIC
- [Documentation] Deploy NONRTRIC without SDNC
- ${cli_cmd_output}= Run Process ${pms_a1sim}
- Log ${cli_cmd_output.stdout}
+ [Documentation] Deploy NONRTRIC without SDNC - Test 2
+ Log Variables
+ ${cli_cmd_output}= Run Process ${pms_a1sim} shell=no stdout=${test2_stdout} stderr=${test2_stderr}
+ Log Many Standard output: ${test2_stdout} ${\n} ${cli_cmd_output.stdout}
+ Log Many Standard error: ${test2_stderr} ${\n} ${cli_cmd_output.stderr}
Should Be Equal as Integers ${cli_cmd_output.rc} 0
diff --git a/csit/tests/healthcheck/test3.robot b/csit/tests/healthcheck/test3.robot
index f735df05..f2687572 100644
--- a/csit/tests/healthcheck/test3.robot
+++ b/csit/tests/healthcheck/test3.robot
@@ -4,13 +4,16 @@ Library Process
*** Variables ***
-${pms_a1sim_sdnc} ${SCRIPTS}/healthcheck/test/pms_a1sim_sdnc.sh
-
+${pms_a1sim_sdnc} ${SCRIPTS}/healthcheck/test/pms_a1sim_sdnc.sh
+${test3_stdout} ${OUTPUT_DIR}/test3_pms_a1sim_sdnc_STDOUT.sh.log
+${test3_stderr} ${OUTPUT_DIR}/test3_pms_a1sim_sdnc_STDERR.sh.log
*** Test Cases ***
Health check test case for NONRTRIC
- [Documentation] Deploy NONRTRIC with SDNC
- ${cli_cmd_output}= Run Process ${pms_a1sim_sdnc}
- Log ${cli_cmd_output.stdout}
+ [Documentation] Deploy NONRTRIC with SDNC - Test 3
+ Log Variables
+ ${cli_cmd_output}= Run Process ${pms_a1sim_sdnc} shell=no stdout=${test3_stdout} stderr=${test3_stderr}
+ Log Many Standard output: ${test3_stdout} ${\n} ${cli_cmd_output.stdout}
+ Log Many Standard error: ${test3_stderr} ${\n} ${cli_cmd_output.stderr}
Should Be Equal as Integers ${cli_cmd_output.rc} 0