mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Fix dry-run flag in go-runner and run_e2e.sh scripts
Signed-off-by: rjsadow <richard.j.sadowski@gmail.com>
This commit is contained in:
parent
a2bd70da5e
commit
719844e196
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user