Corrected poll timeout example

Signed-off-by: Jay179-sudo <jayprasad2002@gmail.com>
This commit is contained in:
Jay179-sudo 2024-03-30 17:38:54 +05:30
parent 6534ffbffe
commit deaf341f81
1 changed files with 2 additions and 2 deletions

View File

@ -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.")