aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-05-06 14:07:52 +0200
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-05-26 06:37:49 +0000
commit54b92ed8957fba02e36079e086ada248b7298d5a (patch)
tree35a3fa39f31ac0ad76b842e98855001c72c89d2f /robot/resources/dcae
parenta199998f03787462beabccd1e9cd0242fd5d92d8 (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: I004ca74956b95f24c4482940bf8d6bdf9ff5dbf9 (cherry picked from commit 5eb732382fb214d979ba29e82a113fd6379d94d4)
Diffstat (limited to 'robot/resources/dcae')
-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