aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests/healthcheck/test2.robot
diff options
context:
space:
mode:
authorJohnKeeney <john.keeney@est.tech>2022-05-24 12:34:49 +0100
committerJohnKeeney <john.keeney@est.tech>2022-05-25 16:26:44 +0100
commit08486cf3a7972219c3d017d5e47a2c802b225794 (patch)
tree871ede7b291e9d7b94544fd091a29d8494a9ef9e /csit/tests/healthcheck/test2.robot
parentca9a543e882c0fa891230d72311d5f7631d099bc (diff)
Attempt to get stdout&stderr for CSIT tests
Also small tweak for RTD documentation Issue-ID: CCSDK-3675 Change-Id: Idd8acca0e07dc45c6f76a78a321b1075f3ee31ef Signed-off-by: JohnKeeney <john.keeney@est.tech>
Diffstat (limited to 'csit/tests/healthcheck/test2.robot')
-rw-r--r--csit/tests/healthcheck/test2.robot13
1 files changed, 8 insertions, 5 deletions
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