Skip to content

Commit

Permalink
Explicitly state that E2E tests passed/failed (knative#247)
Browse files Browse the repository at this point in the history
This makes the context of the message more clear (for example, during a release).
  • Loading branch information
adrcunha authored and knative-prow-robot committed Nov 12, 2018
1 parent 08eee12 commit 07b942c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function download_k8s() {
# This is intended to be called when a test fails to provide debugging information.
function dump_cluster_state() {
echo "***************************************"
echo "*** TEST FAILED ***"
echo "*** E2E TEST FAILED ***"
echo "*** Start of information dump ***"
echo "***************************************"
echo ">>> All resources:"
Expand All @@ -139,7 +139,7 @@ function dump_cluster_state() {
kubectl get events --all-namespaces
function_exists dump_extra_cluster_state && dump_extra_cluster_state
echo "***************************************"
echo "*** TEST FAILED ***"
echo "*** E2E TEST FAILED ***"
echo "*** End of information dump ***"
echo "***************************************"
}
Expand Down Expand Up @@ -276,7 +276,7 @@ function success() {
# TODO(adrcunha): Get rid of this workaround.
echo -n "0"> ${TEST_RESULT_FILE}
echo "**************************************"
echo "*** ALL TESTS PASSED ***"
echo "*** E2E TESTS PASSED ***"
echo "**************************************"
exit 0
}
Expand Down

0 comments on commit 07b942c

Please sign in to comment.