Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #49 from cloudfoundry-incubator/debug-integration
Browse files Browse the repository at this point in the history
Add env var to enable ginkgo debug mode
  • Loading branch information
viovanov committed May 27, 2020
2 parents 8423c2e + 775693a commit b35fb1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/test-integration
Expand Up @@ -30,12 +30,18 @@ if [ ${COVERAGE+x} ]; then
mkdir -p code-coverage
fi

DEBUG=${DEBUG:+--debug}
NODES=${NODES:-3}
FLAKE_ATTEMPTS=${FLAKE_ATTEMPTS:-3}
ginkgo ${FOCUS:+ --focus "$FOCUS"} \
$DEBUG \
--randomizeAllSpecs \
--nodes="$NODES" \
--slowSpecThreshold=50 \
--flakeAttempts="$FLAKE_ATTEMPTS" \
$COV_ARG \
integration/"$name"

if [ ${DEBUG+x} ]; then
find . -name ginkgo-node-\*.log -type f -print0 | xargs -0r tail -n 200
fi

0 comments on commit b35fb1c

Please sign in to comment.