aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2021-09-01 14:24:33 +0200
committerTomasz Wrobel <tomasz.wrobel@nokia.com>2021-09-01 15:32:02 +0200
commit70d73b28bf67092efc4c7983ac04ad759f5056e9 (patch)
treee1b3caeeecaf17602a1dc5d3ea5ef245bba65464 /tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot
parentee72614cc6fe35737d24db1c99ceb13b7e5e54fd (diff)
Align HV-VES tests to use mounted config file instead of Consul
Issue-ID: DCAEGEN2-2718 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia16192b432eadab6e2d10ed1435e888f3e700da1
Diffstat (limited to 'tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot')
-rw-r--r--tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot
index df47b861..5c8258f3 100644
--- a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot
+++ b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot
@@ -18,9 +18,10 @@
*** Settings ***
Library DcaeAppSimulatorLibrary
-Library ConsulLibrary
Library VesHvContainersUtilsLibrary
+Resource resources/common-keywords.robot
+
Suite Setup HV-VES Collector Suites Setup
*** Keywords ***
@@ -32,10 +33,7 @@ HV-VES Collector Suites Setup
Configure collector
- ${CONSUL_API_ACCESS}= Get Consul Api Access Url ${HTTP_METHOD_URL} ${CONSUL_CONTAINER_HOST} ${CONSUL_CONTAINER_PORT}
- ${CONSUL_API_URL}= Catenate SEPARATOR= ${CONSUL_API_ACCESS} ${CONSUL_HV_VES_CONFIGURATION_KEY_PATH}
- Set Suite Variable ${CONSUL_API_URL} children=True
- Publish HV VES Configuration In Consul ${CONSUL_API_URL} ${HV_VES_CONFIGURATION_JSON_FILEPATH}
+ Set New Mounted Configuration ${HV_VES_CONFIGURATION_JSON_FILEPATH}
Configure Dcae App
Wait until keyword succeeds 10 sec 5 sec
@@ -58,4 +56,4 @@ ${SECOND_PERF3GPP_TOPIC} TEST_HV_VES_PERF3GPP_BUT_WITH_EXT
${DEFAULT_STNDDEFINED_3GPP_HEARTBEAT_TOPIC} TEST_SEC_3GPP_HEARTBEAT_OUTPUT
${HV_VES_RESOURCES} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources
-${HV_VES_CONFIGURATION_JSON_FILEPATH} ${HV_VES_RESOURCES}/hv-ves-configuration.json
+${HV_VES_CONFIGURATION_JSON_FILEPATH} ${HV_VES_RESOURCES}/hv-ves-configuration.yaml