[HVVES] Make the HVVES test SM compatible 51/133251/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Tue, 14 Feb 2023 11:11:35 +0000 (12:11 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Tue, 14 Feb 2023 11:11:35 +0000 (12:11 +0100)
The right container needs to be selected, when fetching a config file,
as the sidecar container is usually the default container.

Issue-ID: INT-2160

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: Ic53a3ccf80262dfa005d40b444e3cb03dcd4c647

robot/resources/dcae/hvves.robot

index 60b61d9..516c927 100644 (file)
@@ -17,7 +17,7 @@ ${CLIENT_KEY}    /tmp/client.key
 
 ${PREV_CM_FILE}                   /tmp/prevCm.json
 ${CURRENT_CONFIG_FILE}            /tmp/xz.yaml
-${COPY_CURRENT_CONFIG}            kubectl -n onap cp $(kubectl -n onap get --no-headers pods -l app.kubernetes.io/name=dcae-hv-ves-collector --field-selector status.phase=Running -o custom-columns=NAME:.metadata.name):/app-config-input/..data/application_config.yaml ${CURRENT_CONFIG_FILE}
+${COPY_CURRENT_CONFIG}            kubectl -n onap -c dcae-hv-ves-collector cp $(kubectl -n onap get --no-headers pods -l app.kubernetes.io/name=dcae-hv-ves-collector --field-selector status.phase=Running -o custom-columns=NAME:.metadata.name):/app-config-input/..data/application_config.yaml ${CURRENT_CONFIG_FILE}
 ${GET_TRUSTSTORE_PASS_PATH}       cat ${CURRENT_CONFIG_FILE} | grep security.keys.trustStorePasswordFile
 ${TEST_TRUSTSTORE_PASS_PATH}      security.keys.trustStorePasswordFile: /dev/null
 ${TEST_CONFIG_YAML_PATH}          ${EXECDIR}/robot/assets/dcae/hvves_test_config.yaml