Skip to content

Commit 56a0c82

Browse files
committed
Update debug output
1 parent 2dfecb3 commit 56a0c82

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

testing/kuttl/e2e/version/00--check-version.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ commands:
66
77
VERSION_OUTPUT=$(kubectl pgo version)
88
{ contains "${VERSION_OUTPUT}" "Client Version:"; } || {
9-
echo ${VERSION_OUTPUT}
9+
echo "Expected: Client Version:*"
10+
echo "Actual: ${VERSION_OUTPUT}"
1011
exit 1
1112
}
1213
- script: |
@@ -20,7 +21,7 @@ commands:
2021
VERSION_OUTPUT=$(kubectl pgo version)
2122
2223
{ contains "${VERSION_OUTPUT}" "Operator Version: v${OPERATOR_VERSION}"; } || {
23-
echo ${VERSION_OUTPUT}
24-
echo ${OPERATOR_VERSION}
24+
echo "Expected: ${OPERATOR_VERSION}"
25+
echo "Actual: ${VERSION_OUTPUT}"
2526
exit 1
2627
}

testing/kuttl/e2e/version/01--check-client-version.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ commands:
99
VERSION_OUTPUT=$(KUBECONFIG=blah kubectl pgo version --client)
1010
1111
{ contains "${VERSION_OUTPUT}" "Client Version:"; } || {
12-
echo ${VERSION_OUTPUT}
12+
echo "Expected: Client Version:*"
13+
echo "Actual: ${VERSION_OUTPUT}"
1314
exit 1
1415
}

0 commit comments

Comments
 (0)