diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2021-09-13 07:51:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-13 07:51:38 +0000 |
commit | 85321a52e56422c1bb552c10387d27066decee84 (patch) | |
tree | 283882cb3ee2aee750cc1bf165358e811812b4de /tests/dcaegen2-collectors-datafile/resources/common-keywords.robot | |
parent | 2ec1675ae61a690a4284620246c08adfe04633e9 (diff) | |
parent | 532cd635c7ad5561657b2a64d423aad611969b66 (diff) |
Merge "Update DFC tests to use file based conifg"istanbul
Diffstat (limited to 'tests/dcaegen2-collectors-datafile/resources/common-keywords.robot')
-rw-r--r-- | tests/dcaegen2-collectors-datafile/resources/common-keywords.robot | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot index c425fe2a..b8728068 100644 --- a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot +++ b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot @@ -13,6 +13,7 @@ ${CLI_DRSIM_CTR_QUERY_NOT_PUBLISHED} curl --connect-timeout 10 -X GET htt ${CLI_DRSIM_CTR_PUBLISHED_FILES} curl --connect-timeout 10 -X GET http://${SIM_IP}:3906/ctr_published_files ${CLI_DR_REDIR_SIM_DOWNLOADED_VOLUME} curl --connect-timeout 10 -X GET http://${SIM_IP}:3908/dwl_volume +${DFC_CONFIG_VOLUME_FILE} ${SIMGROUP_ROOT}/dfc_config_volume/application_config.yaml *** Keywords *** MR Sim Emitted Files Equal @@ -45,6 +46,13 @@ Start DFC Log To Console Dfc-start: Log To Console ${cli_cmd_output.stdout} ${cli_cmd_output.stderr} +Set DFC config + [Documentation] Set DFC configuration + [Arguments] ${dfc_config_file} + Copy File ${dfc_config_file} ${DFC_CONFIG_VOLUME_FILE} + ${dfc_config_file_content}= Get File ${DFC_CONFIG_VOLUME_FILE} + Log To Console APP configuration: + Log To Console ${dfc_config_file_content} Test Teardown [Documentation] Cleanup containers |