From 5eb732382fb214d979ba29e82a113fd6379d94d4 Mon Sep 17 00:00:00 2001 From: Krzysztof Kuzmicki Date: Fri, 6 May 2022 14:07:52 +0200 Subject: [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 Issue-ID: DMAAP-1705 Change-Id: I986e28c00b816be873f6791d2cfdf06855244ad8 --- robot/resources/dcae/hvves.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'robot/resources/dcae/hvves.robot') 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 -- cgit 1.2.3-korg