From deaf341f81cce550d20967c020b60326ac584a61 Mon Sep 17 00:00:00 2001 From: Jay179-sudo Date: Sat, 30 Mar 2024 17:38:54 +0530 Subject: [PATCH] Corrected poll timeout example Signed-off-by: Jay179-sudo --- test/e2e/suite_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.")