From: Andreas Geissler Date: Tue, 14 Feb 2023 11:11:35 +0000 (+0100) Subject: [HVVES] Make the HVVES test SM compatible X-Git-Tag: 1.12.1~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a36301c874d293950857fb38531f77b981f32827;p=testsuite.git [HVVES] Make the HVVES test SM compatible 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 Change-Id: Ic53a3ccf80262dfa005d40b444e3cb03dcd4c647 --- diff --git a/robot/resources/dcae/hvves.robot b/robot/resources/dcae/hvves.robot index 60b61d98..516c9278 100644 --- a/robot/resources/dcae/hvves.robot +++ b/robot/resources/dcae/hvves.robot @@ -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