From 16453e9bf79c6237f41ac1df615b4641c3e91aed Mon Sep 17 00:00:00 2001 From: ecaiyanlinux Date: Fri, 22 Oct 2021 14:08:21 +0200 Subject: Improve CSIT scripts Help trouble shooting Signed-off-by: ecaiyanlinux Change-Id: Iab7421a4f306dd490645c61c49a0748aa80f1b66 Issue-ID: CCSDK-3433 --- csit/tests/healthcheck/test1.robot | 3 ++- csit/tests/healthcheck/test2.robot | 3 ++- csit/tests/healthcheck/test3.robot | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/csit/tests/healthcheck/test1.robot b/csit/tests/healthcheck/test1.robot index 2aae2291..bc9ec597 100644 --- a/csit/tests/healthcheck/test1.robot +++ b/csit/tests/healthcheck/test1.robot @@ -11,6 +11,7 @@ ${health_check} ${SCRIPTS}/healthcheck/test/health_check.sh Health check test case for NONRTRIC [Documentation] Health check - Start Process ${health_check} >> log_hc.txt shell=yes + Start Process ${health_check} shell=yes ${cli_cmd_output}= Wait For Process timeout=600 + Log ${cli_cmd_output.stdout} 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 02334593..4e3e6c0e 100644 --- a/csit/tests/healthcheck/test2.robot +++ b/csit/tests/healthcheck/test2.robot @@ -11,6 +11,7 @@ ${pms_a1sim} ${SCRIPTS}/healthcheck/test/pms_a1sim.sh Health check test case for NONRTRIC [Documentation] Deploy NONRTRIC without SDNC - Start Process ${pms_a1sim} >> log_hc.txt shell=yes + Start Process ${pms_a1sim} shell=yes ${cli_cmd_output}= Wait For Process timeout=600 + Log ${cli_cmd_output.stdout} 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 cedac7e5..05b58afd 100644 --- a/csit/tests/healthcheck/test3.robot +++ b/csit/tests/healthcheck/test3.robot @@ -11,6 +11,7 @@ ${pms_a1sim_sdnc} ${SCRIPTS}/healthcheck/test/pms_a1sim_sdnc.sh Health check test case for NONRTRIC [Documentation] Deploy NONRTRIC with SDNC - Start Process ${pms_a1sim_sdnc} >> log_hc.txt shell=yes + Start Process ${pms_a1sim_sdnc} shell=yes ${cli_cmd_output}= Wait For Process timeout=600 + Log ${cli_cmd_output.stdout} Should Be Equal as Integers ${cli_cmd_output.rc} 0 -- cgit 1.2.3-korg