diff --git a/test/conformance/image/go-runner/cmd.go b/test/conformance/image/go-runner/cmd.go index 6339ad32949..c1a0eadb43e 100644 --- a/test/conformance/image/go-runner/cmd.go +++ b/test/conformance/image/go-runner/cmd.go @@ -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. diff --git a/test/conformance/image/run_e2e.sh b/test/conformance/image/run_e2e.sh index 0496b19fec8..fe9747a93b2 100755 --- a/test/conformance/image/run_e2e.sh +++ b/test/conformance/image/run_e2e.sh @@ -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"