Enable Datafile Collector FTPS tests
Refactor tests to decrease repetition of same code
Issue-ID: DCAEGEN2-2367
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I0c6a8cdd8ebf2fd2f9c0d2632ede6e585e40420c
diff --git a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
index 76dc033..a36833e 100644
--- a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
+++ b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
@@ -37,4 +37,10 @@
[Documentation] Verify that the size of the downloaded data volume is equal to a target value
[Arguments] ${target_ctr_value}
${resp}= Run Process ${CLI_DR_REDIR_SIM_DOWNLOADED_VOLUME} shell=yes
- Should Be Equal As Strings ${resp.stdout} ${target_ctr_value}
\ No newline at end of file
+ Should Be Equal As Strings ${resp.stdout} ${target_ctr_value}
+
+Start DFC
+ [Documentation] Start DFC container
+ ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} env:SIMGROUP_ROOT=${SIMGROUP_ROOT}
+ Log To Console Dfc-start:
+ Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}