- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 328 for retryOn (0.32 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy
lock2.doIsLockedByCurrentThread() == (!lock1Locked && !lock2Locked) where: lock1Locked | lock2Locked | expectedDisposition true | true | RETRY true | false | RETRY false | true | RETRY false | false | FINISHED } def "can unlock resources with unlock"() { def lock1 = resourceLock("lock1", lock1Locked, true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 17:16:10 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control.go
return err } func (spc *StatefulPodControl) UpdateStatefulPod(ctx context.Context, set *apps.StatefulSet, pod *v1.Pod) error { attemptedUpdate := false err := retry.RetryOnConflict(retry.DefaultBackoff, func() error { // assume the Pod is consistent consistent := true // if the Pod does not conform to its identity, update the identity and dirty the Pod if !identityMatches(set, pod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 14.9K bytes - Viewed (0) -
tests/integration/operator/switch_cr_test.go
} } return nil }, retry.Timeout(retryTimeOut), retry.Delay(retryDelay)) // test operator remove command by purge scopes.Framework.Infof("checking operator remove command") removeCmd = []string{ "operator", "remove", "--skip-confirmation", "--purge", } istioCtl.InvokeOrFail(t, removeCmd) retry.UntilSuccessOrFail(t, func() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 17.5K bytes - Viewed (0) -
tests/integration/ambient/waypoint_test.go
} } return nil }, retry.Timeout(15*time.Second), retry.BackoffDelay(time.Millisecond*100)) // delete all waypoints in namespace, so w3 should be deleted istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{ "waypoint", "-n", nsConfig.Name(), "delete", "--all", }) retry.UntilSuccessOrFail(t, func() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.4K bytes - Viewed (0) -
tests/integration/pilot/ingress_test.go
fmt.Sprintf(ingressConfigTemplate, "ingress", "istio-test", c.path, c.path, c.prefixPath)). Apply(); err != nil { t.Fatal(err) } c.call.Retry.Options = []retry.Option{ retry.Delay(500 * time.Millisecond), retry.Timeout(time.Minute * 2), } ingr.CallOrFail(t, c.call) }) } }) } defaultIngress := istio.DefaultIngressOrFail(t, t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 19.5K bytes - Viewed (0) -
cni/test/install_cni.go
return nil } // compareConfResult does a string compare of 2 test files. func compareConfResult(result, expected string, t *testing.T) { t.Helper() retry.UntilSuccessOrFail(t, func() error { return checkResult(result, expected) }, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second*3)) } // checkBinDir verifies the presence/absence of test files.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 11.4K bytes - Viewed (0) -
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) -
tests/integration/pilot/istioctl_test.go
return err } if !describeSvcAOutput.MatchString(output) { return fmt.Errorf("output:\n%v\n does not match regex:\n%v", output, describeSvcAOutput) } return nil }, retry.Timeout(time.Second*20)) retry.UntilSuccessOrFail(t, func() error { podID, err := getPodID(apps.A[0]) if err != nil { return fmt.Errorf("could not get Pod ID: %v", err) } args := []string{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15K bytes - Viewed (0) -
cmd/batch-expire_gen.go
} case "NotificationCfg": err = z.NotificationCfg.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "NotificationCfg") return } case "Retry": err = z.Retry.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Retry") return } case "Rules": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "Rules") return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 19.8K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_test.go
waitDisconnect := func() { retry.UntilSuccessOrFail(t, func() error { proxy.connectedMutex.Lock() defer proxy.connectedMutex.Unlock() if proxy.connected != nil { return fmt.Errorf("still connected") } return nil }, retry.Timeout(time.Second), retry.Delay(time.Millisecond)) } expectCondition := func(expected string) { t.Helper() retry.UntilSuccessOrFail(t, func() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 04:48:02 UTC 2024 - 18.6K bytes - Viewed (0)