Merge pull request #118349 from bart0sh/PR116-fix-ginkgo-deprecation-warning

Fix ginkgo deprecation warning
This commit is contained in:
Kubernetes Prow Robot
2023-06-06 06:59:01 -07:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ if [[ -n "${CONFORMANCE_TEST_SKIP_REGEX:-}" ]]; then
fi
if [[ "${GINKGO_UNTIL_IT_FAILS:-}" == true ]]; then
ginkgo_args+=("--untilItFails=true")
ginkgo_args+=("--until-it-fails=true")
fi
FLAKE_ATTEMPTS=1

View File

@@ -66,8 +66,8 @@ if [[ ${skip} != "" ]]; then
ginkgoflags="${ginkgoflags} -skip=\"${skip}\" "
fi
if [[ ${run_until_failure} != "" ]]; then
ginkgoflags="${ginkgoflags} -untilItFails=${run_until_failure} "
if [[ ${run_until_failure} == "true" ]]; then
ginkgoflags="${ginkgoflags} --until-it-fails=true "
fi
# Setup the directory to copy test artifacts (logs, junit.xml, etc) from remote host to local host