diff --git a/testing/kuttl/e2e/version/00--check-version.yaml b/testing/kuttl/e2e/version/00--check-version.yaml index ebb44d3..8f72100 100644 --- a/testing/kuttl/e2e/version/00--check-version.yaml +++ b/testing/kuttl/e2e/version/00--check-version.yaml @@ -6,7 +6,8 @@ commands: VERSION_OUTPUT=$(kubectl pgo version) { contains "${VERSION_OUTPUT}" "Client Version:"; } || { - echo ${VERSION_OUTPUT} + echo "Expected: Client Version:*" + echo "Actual: ${VERSION_OUTPUT}" exit 1 } - script: | @@ -20,7 +21,7 @@ commands: VERSION_OUTPUT=$(kubectl pgo version) { contains "${VERSION_OUTPUT}" "Operator Version: v${OPERATOR_VERSION}"; } || { - echo ${VERSION_OUTPUT} - echo ${OPERATOR_VERSION} + echo "Expected: ${OPERATOR_VERSION}" + echo "Actual: ${VERSION_OUTPUT}" exit 1 } diff --git a/testing/kuttl/e2e/version/01--check-client-version.yaml b/testing/kuttl/e2e/version/01--check-client-version.yaml index 716a99f..56733a5 100644 --- a/testing/kuttl/e2e/version/01--check-client-version.yaml +++ b/testing/kuttl/e2e/version/01--check-client-version.yaml @@ -9,6 +9,7 @@ commands: VERSION_OUTPUT=$(KUBECONFIG=blah kubectl pgo version --client) { contains "${VERSION_OUTPUT}" "Client Version:"; } || { - echo ${VERSION_OUTPUT} + echo "Expected: Client Version:*" + echo "Actual: ${VERSION_OUTPUT}" exit 1 }