aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae/hvves.robot
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-05-06 14:07:52 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-05-06 14:07:52 +0200
commit5eb732382fb214d979ba29e82a113fd6379d94d4 (patch)
treebf68fcbd4dc0b6ba88581730b155bd0fdcf56e3a /robot/resources/dcae/hvves.robot
parent359e363689889ddc983f1c35bef14a6fee7b5c8e (diff)
[ROBOT] Adopt HVVES test case in order to work with strimzi kafka
Adopt HVVES test case in order to work with strimzi kafka. Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: DMAAP-1705 Change-Id: I986e28c00b816be873f6791d2cfdf06855244ad8
Diffstat (limited to 'robot/resources/dcae/hvves.robot')
-rw-r--r--robot/resources/dcae/hvves.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/dcae/hvves.robot b/robot/resources/dcae/hvves.robot
index 89de8250..04e7e5d2 100644
--- a/robot/resources/dcae/hvves.robot
+++ b/robot/resources/dcae/hvves.robot
@@ -72,12 +72,12 @@ Decode Last Message From Topic STRIMZI User
Set Test Config
[Documentation] Changes HV-VES config.
-
+ [Arguments] ${kafka_server}
+ ${SED}= Set Variable sed -i 's/placeholder/${kafka_server}/g' ${TEST_CONFIG_YAML_PATH}
+ Run ${SED}
${TEST_CONFIG}= Get File ${TEST_CONFIG_YAML_PATH} encoding=UTF-8
-
Save Configuration From Config Map
Set Environment Variable TEST_CONFIG ${TEST_CONFIG}
-
${cm_name} = Get Config Map Name
${rc} = Run and Return RC kubectl -n onap patch cm ${cm_name} --type strategic -p "%{TEST_CONFIG}"
Should Be Equal As Integers ${rc} 0