Skip to content

Commit

Permalink
Merge pull request #4783 from Jay179-sudo/test-demo
Browse files Browse the repository at this point in the history
Corrected poll timeout example
  • Loading branch information
karmada-bot committed Apr 1, 2024
2 parents 6534ffb + deaf341 commit d9377e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit d9377e7

Please sign in to comment.