Skip to content

Commit

Permalink
Update debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckulk committed Jan 23, 2024
1 parent 2dfecb3 commit 56a0c82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions testing/kuttl/e2e/version/00--check-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
}
3 changes: 2 additions & 1 deletion testing/kuttl/e2e/version/01--check-client-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 56a0c82

Please sign in to comment.