aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
diff options
context:
space:
mode:
authorMarcin Przybysz <marcin.przybysz@nokia.com>2020-07-29 11:36:17 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-29 11:36:17 +0000
commit6f81c3b6c315801d7ab442721db9ad4d0a2e7541 (patch)
tree98e4ea8148430d637b35373ad390819451e8a4bc /tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
parent92dff7dcb033c354ffbaf49e06c10f4c52defcb7 (diff)
parent90553671625d131d7aa7bd994bd17655bd905da6 (diff)
Merge "Add sftp strict host key checking to DFC tests"
Diffstat (limited to 'tests/dcaegen2-collectors-datafile/resources/common-keywords.robot')
-rw-r--r--tests/dcaegen2-collectors-datafile/resources/common-keywords.robot10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
index a36833e1..c425fe2a 100644
--- a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
+++ b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot
@@ -44,3 +44,13 @@ Start DFC
${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}
+
+
+Test Teardown
+ [Documentation] Cleanup containers
+ ${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 ${DFC_ROOT}/../dfc-containers-clean.sh stderr=STDOUT
+ Log To Console Dfc containter clean: ${cli_cmd_output.stdout} ${cli_cmd_output.stderr}