- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 754 for retryOn (0.22 sec)
-
cmd/batch-rotate_gen.go
return } case "Notify": err = z.Notify.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Notify") return } case "Retry": err = z.Retry.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Retry") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/sidecar.go
t.Fatal(err) } return cfg } func (s *sidecar) WaitForConfig(accept func(*admin.ConfigDump) (bool, error), options ...retry.Option) error { options = append([]retry.Option{retry.BackoffDelay(defaultConfigDelay), retry.Timeout(defaultConfigTimeout)}, options...) var cfg *admin.ConfigDump _, err := retry.UntilComplete(func() (result any, completed bool, err error) { cfg, err = s.Config() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 03:49:49 UTC 2023 - 5.6K bytes - Viewed (0) -
tests/integration/pilot/multi_version_revision_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/webhooks/webhookpatch_test.go
return nil } success.Inc() return nil }) go queue.Run(test.NewStop(t)) retry.UntilOrFail(t, queue.HasSynced) queue.Add(types.NamespacedName{Name: "success"}) retry.UntilOrFail(t, func() bool { return success.Load() == 1 }) queue.Add(types.NamespacedName{Name: "conflict-success"}) retry.UntilOrFail(t, func() bool { return success.Load() == 2 && retries.Load() == 5 })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 09:53:38 UTC 2023 - 8.6K bytes - Viewed (0) -
pkg/test/util/assert/assert.go
func EventuallyEqual[T any](t test.Failer, fetch func() T, expected T, retryOpts ...retry.Option) { t.Helper() var a T // Unit tests typically need shorter default; opts can override though ro := []retry.Option{retry.Timeout(time.Second * 2), retry.BackoffDelay(time.Millisecond * 2)} ro = append(ro, retryOpts...) err := retry.UntilSuccess(func() error { a = fetch() if !cmp.Equal(a, expected, opts(expected)...) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 4.4K bytes - Viewed (0) -
tests/integration/pilot/vm_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.4K bytes - Viewed (0) -
tests/integration/telemetry/tracing/otelcollector/tracing_test.go
} if !tracing.VerifyOtelEchoTraces(ctx, appNsInst.Name(), cluster.Name(), traces) { return errors.New("cannot find expected traces") } return nil }, retry.Delay(3*time.Second), retry.Timeout(80*time.Second)) }) } }) } }) } func TestMain(m *testing.M) { framework.NewSuite(m). Label(label.CustomSetup).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 22:56:30 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/test/kube/util.go
istioKube "istio.io/istio/pkg/kube" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/scopes" "istio.io/istio/pkg/test/util/retry" ) var ( defaultRetryTimeout = retry.Timeout(time.Minute * 10) defaultRetryDelay = retry.BackoffDelay(time.Millisecond * 200) ErrNoPodsFetched = fmt.Errorf("no pods fetched") ) // PodFetchFunc fetches pods from a k8s Client.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 9.4K bytes - Viewed (0) -
tests/integration/pilot/revisions/revisions_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 27 15:52:38 UTC 2022 - 3.7K bytes - Viewed (0) -
tests/integration/telemetry/api/istioctl_metrics_test.go
"istio.io/istio/pkg/test/util/retry" ) // TestIstioctlMetrics contains a basic validation of the experimental // metrics command. It validates that values are being returned when there is // traffic and that the expected default output format is matched. func TestIstioctlMetrics(t *testing.T) { framework.NewTest(t). Run(func(t framework.TestContext) { retry.UntilSuccessOrFail(t, func() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.8K bytes - Viewed (0)