From a36301c874d293950857fb38531f77b981f32827 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Tue, 14 Feb 2023 12:11:35 +0100 Subject: [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 --- robot/resources/dcae/hvves.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg