From 788eabe7ba8035e76b56894baeb6a572e584007d Mon Sep 17 00:00:00 2001 From: Shiyang Wang Date: Tue, 14 Mar 2017 10:36:41 +0800 Subject: [PATCH] expose until-it-fails param --- hack/ginkgo-e2e.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/ginkgo-e2e.sh b/hack/ginkgo-e2e.sh index fddadcb2d65..8c000606772 100755 --- a/hack/ginkgo-e2e.sh +++ b/hack/ginkgo-e2e.sh @@ -104,6 +104,10 @@ elif [[ ${GINKGO_PARALLEL} =~ ^[yY]$ ]]; then ginkgo_args+=("--nodes=25") fi +if [[ "${GINKGO_UNTIL_IT_FAILS:-}" == true ]]; then +ginkgo_args+=("--untilItFails=true") +fi + FLAKE_ATTEMPTS=1 if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then FLAKE_ATTEMPTS=2