aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorecaiyanlinux <martin.c.yan@est.tech>2021-10-22 14:08:21 +0200
committerecaiyanlinux <martin.c.yan@est.tech>2021-10-22 14:09:27 +0200
commit16453e9bf79c6237f41ac1df615b4641c3e91aed (patch)
tree7bb0d3d04d7964f6af42e4f5402d63135bfb9941
parentccd5040e8af4cbf81534f3d68fe0fb935a5081cd (diff)
Improve CSIT scripts
Help trouble shooting Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech> Change-Id: Iab7421a4f306dd490645c61c49a0748aa80f1b66 Issue-ID: CCSDK-3433
-rw-r--r--csit/tests/healthcheck/test1.robot3
-rw-r--r--csit/tests/healthcheck/test2.robot3
-rw-r--r--csit/tests/healthcheck/test3.robot3
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