diff options
Diffstat (limited to 'csit/tests/healthcheck')
-rw-r--r-- | csit/tests/healthcheck/test1.robot | 12 | ||||
-rw-r--r-- | csit/tests/healthcheck/test2.robot | 14 | ||||
-rw-r--r-- | csit/tests/healthcheck/test3.robot | 14 |
3 files changed, 23 insertions, 17 deletions
diff --git a/csit/tests/healthcheck/test1.robot b/csit/tests/healthcheck/test1.robot index bc9ec597..a8eba153 100644 --- a/csit/tests/healthcheck/test1.robot +++ b/csit/tests/healthcheck/test1.robot @@ -5,13 +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 - Start Process ${health_check} shell=yes - ${cli_cmd_output}= Wait For Process timeout=600 - 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 4e3e6c0e..ae51982e 100644 --- a/csit/tests/healthcheck/test2.robot +++ b/csit/tests/healthcheck/test2.robot @@ -4,14 +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 - Start Process ${pms_a1sim} shell=yes - ${cli_cmd_output}= Wait For Process timeout=600 - 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 05b58afd..f2687572 100644 --- a/csit/tests/healthcheck/test3.robot +++ b/csit/tests/healthcheck/test3.robot @@ -4,14 +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 - Start Process ${pms_a1sim_sdnc} shell=yes - ${cli_cmd_output}= Wait For Process timeout=600 - 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 |