Skip to content

Commit

Permalink
Debug integration test
Browse files Browse the repository at this point in the history
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
  • Loading branch information
jenting committed May 24, 2022
1 parent e148325 commit d2dbc02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .werft/workspace-run-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pod:
- bash
- -c
- |
set -euo
set -euo pipefail
BRANCH="inte-test/"$(date +%Y%m%d%H%M%S)
export WERFT_CREDENTIAL_HELPER=/workspace/dev/preview/werft-credential-helper.sh
Expand Down Expand Up @@ -123,8 +123,9 @@ pod:
echo "running integration for ${TEST_NAME}" | werft log slice "test-${TEST_NAME}"
cd "${TEST_PATH}"
set +e
go test -v ./... "${args[@]}" 2>&1 | tee "${TEST_NAME}".log | werft log slice "test-${TEST_NAME}"
set -e
if [ "${PIPESTATUS[0]}" -ne "0" ]; then
FAILURE_COUNT=$((FAILURE_COUNT+1))
Expand Down

0 comments on commit d2dbc02

Please sign in to comment.