expose until-it-fails param

pull/6/head
Shiyang Wang 2017-03-14 10:36:41 +08:00 committed by shiywang
parent 302aab9ba2
commit 788eabe7ba
1 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,10 @@ elif [[ ${GINKGO_PARALLEL} =~ ^[yY]$ ]]; then
ginkgo_args+=("--nodes=25") ginkgo_args+=("--nodes=25")
fi fi
if [[ "${GINKGO_UNTIL_IT_FAILS:-}" == true ]]; then
ginkgo_args+=("--untilItFails=true")
fi
FLAKE_ATTEMPTS=1 FLAKE_ATTEMPTS=1
if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then
FLAKE_ATTEMPTS=2 FLAKE_ATTEMPTS=2