diff --git a/test/e2e/suite_test.go b/test/e2e/suite_test.go index b47550874fc9..cdd4c4e1cf73 100644 --- a/test/e2e/suite_test.go +++ b/test/e2e/suite_test.go @@ -112,8 +112,8 @@ var ( ) func init() { - // usage ginkgo -- --poll-interval=5s --pollTimeout=5m - // eg. ginkgo -v --race --trace --fail-fast -p --randomize-all ./test/e2e/ -- --poll-interval=5s --pollTimeout=5m + // usage ginkgo -- --poll-interval=5s --poll-timeout=5m + // eg. ginkgo -v --race --trace --fail-fast -p --randomize-all ./test/e2e/ -- --poll-interval=5s --poll-timeout=5m flag.DurationVar(&pollInterval, "poll-interval", 5*time.Second, "poll-interval defines the interval time for a poll operation") flag.DurationVar(&pollTimeout, "poll-timeout", 300*time.Second, "poll-timeout defines the time which the poll operation times out") flag.StringVar(&karmadaContext, "karmada-context", karmadaContext, "Name of the cluster context in control plane kubeconfig file.")