Merge pull request #122458 from rjsadow/ginkgo-dryrun

Fix dry-run flag in go-runner and run_e2e.sh scripts
This commit is contained in:
Kubernetes Prow Robot 2023-12-23 13:00:45 +01:00 committed by GitHub
commit 341052f4c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ func getCmd(env Getenver, w io.Writer) *exec.Cmd {
}
if len(env.Getenv(dryRunEnvKey)) > 0 {
ginkgoArgs = append(ginkgoArgs, "--dryRun=true")
ginkgoArgs = append(ginkgoArgs, "--dry-run=true")
}
// NOTE: Ginkgo's default timeout has been reduced from 24h to 1h in V2, set it as "24h" for backward compatibility
// if this is not set by env of extraGinkgoArgsEnvKey.

View File

@ -49,7 +49,7 @@ trap shutdown TERM
ginkgo_args=()
if [[ -n ${E2E_DRYRUN:-} ]]; then
ginkgo_args+=("--dryRun=true")
ginkgo_args+=("--dry-run=true")
fi
# NOTE: Ginkgo's default timeout has been reduced from 24h to 1h in V2, set it manually here as "24h"