From bd5299b2f25c96fa0ee9ea2636bf2b1c95cde04a Mon Sep 17 00:00:00 2001 From: Weimin Yu Date: Fri, 10 Jan 2020 15:52:27 -0500 Subject: [PATCH] Print more info during compatibility test (#440) * Print more info during compatibility test Prints a summary of the environments to be tested and their corresponding version tags. --- integration/runCompatibilityTests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration/runCompatibilityTests.sh b/integration/runCompatibilityTests.sh index bfb5a8a9a..1940a04de 100755 --- a/integration/runCompatibilityTests.sh +++ b/integration/runCompatibilityTests.sh @@ -146,17 +146,22 @@ if [[ ! -z "${ENV}" ]] && [[ "${ENV}" != "sandbox" ]] \ exit 1 fi +echo "Testing ${SUT} against deployed ${DEPLOYED_SYSTEM} versions:" if [[ -z "${ENV}" ]]; then SANDBOX_VERSION=$(fetchVersion ${DEPLOYED_SYSTEM} sandbox ${DEV_PROJECT}) PROD_VERSION=$(fetchVersion ${DEPLOYED_SYSTEM} production ${DEV_PROJECT}) if [[ ${SANDBOX_VERSION} = ${PROD_VERSION} ]]; then VERSIONS=(${PROD_VERSION}) + echo "- sandbox and production at ${PROD_VERSION}" else VERSIONS=(${PROD_VERSION} ${SANDBOX_VERSION}) + echo "- sandbox at ${SANDBOX_VERSION}" + echo "- production at ${PROD_VERSION}" fi else TARGET_VERSION=$(fetchVersion ${DEPLOYED_SYSTEM} ${ENV} ${DEV_PROJECT}) VERSIONS=(${TARGET_VERSION}) + echo "- ${ENV} at ${TARGET_VERSION}" fi for v in ${VERSIONS[@]}; do