aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoryanhuanwang <martin.c.yan@est.tech>2019-09-16 09:46:21 +0200
committeryanhuanwang <martin.c.yan@est.tech>2019-09-16 10:29:16 +0200
commit46c195e341fa9f27afb63cca9826f9bf98282aa0 (patch)
tree35a8e1042f5e27b9e43ca2593015dc30765a3b65 /tests
parent459a620a60f0cee9841300ee2bcda2b14ed1f2a7 (diff)
Add dfc log to console
Change-Id: I9d382dedf25448c2e138bab14443addde27caa47 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-suite/FuncSingleFile.robot36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-suite/FuncSingleFile.robot b/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-suite/FuncSingleFile.robot
index 595b37f0..3f8be179 100755
--- a/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-suite/FuncSingleFile.robot
+++ b/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-suite/FuncSingleFile.robot
@@ -65,10 +65,10 @@ Verify single event with single 1MB SFTP file. From event poll to published file
Wait Until Keyword Succeeds 1 minute 10 sec DR Sim Published Files Equal 1 #Verify 1 file published to DR sim
DR Redir Sim Downloaded Volume Equal 1 000 000 #Verify 1 000 000 bytes published file data in DR redir sim
- #${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
- #${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+ ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+ ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
Verify single event with single 5MB SFTP file. From event poll to published file
[TAGS] DFC_FUNCTIONAL_2
@@ -120,16 +120,16 @@ Verify single event with single 5MB SFTP file. From event poll to published file
Wait Until Keyword Succeeds 1 minute 10 sec DR Sim Published Files Equal 1 #Verify 1 file published to DR sim
DR Redir Sim Downloaded Volume Equal 5 000 000 #Verify 5 000 000 bytes published file data in DR redir sim
- #${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
- #${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
-#
- #${cli_cmd_output}= Run Process docker stop $(docker ps -aq) shell=yes
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
-#
- #${cli_cmd_output}= Run Process docker rm $(docker ps -aq) shell=yes
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+ ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+ ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+
+ ${cli_cmd_output}= Run Process docker stop $(docker ps -aq) shell=yes
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+
+ ${cli_cmd_output}= Run Process docker rm $(docker ps -aq) shell=yes
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
Sleep 10
@@ -182,10 +182,10 @@ Verify single event with single 50MB SFTP file. From event poll to published fil
Wait Until Keyword Succeeds 1 minute 10 sec DR Sim Published Files Equal 1 #Verify 1 file published to DR sim
DR Redir Sim Downloaded Volume Equal 50 000 000 #Verify 50 000 000 bytes published file data in DR redir sim
- #${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
- #${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh
- #Log ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+ ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
+ ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}
######### Single file, FTPS
# Temporarily removed due to issues with the certificates for the ftsp server simulator cert.