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:
rjsadow 2023-12-23 05:50:16 -05:00
parent a2bd70da5e
commit 719844e196
No known key found for this signature in database
GPG Key ID: 82EB6184B6E4442A
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"