Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for retryOn (0.18 sec)

  1. cmd/batch-handlers.go

    				ri.RetryAttempts = batchReplJobDefaultRetries
    				if job.Replicate.Flags.Retry.Attempts > 0 {
    					ri.RetryAttempts = job.Replicate.Flags.Retry.Attempts
    				}
    			case job.KeyRotate != nil:
    				ri.RetryAttempts = batchKeyRotateJobDefaultRetries
    				if job.KeyRotate.Flags.Retry.Attempts > 0 {
    					ri.RetryAttempts = job.KeyRotate.Flags.Retry.Attempts
    				}
    			case job.Expire != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceregistry_test.go

    		}
    		return nil
    	}, retry.Converge(2), retry.Timeout(time.Second*2), retry.Delay(time.Millisecond*10))
    }
    
    func expectServiceEndpointsFromIndex(t *testing.T, ei *model.EndpointIndex, svc *model.Service, port int, expected []EndpointResponse) {
    	t.Helper()
    	// The system is eventually consistent, so add some retries
    	retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    				// retry in 50 millisecond
    				return false, 50 * time.Millisecond
    			}
    			_, condition := controllerutil.GetNodeCondition(&node.Status, v1.NodeReady)
    			if condition == nil {
    				logger.Info("Failed to get NodeCondition from the node status", "node", klog.KRef("", value.Value))
    				// retry in 50 millisecond
    				return false, 50 * time.Millisecond
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. tests/integration/ambient/baseline_test.go

    				// found (this is actually bad, but the failure condition is inverted later a bit awkward)
    				return nil
    			}
    			return fmt.Errorf("no waypoints found")
    		}, retry.Timeout(1*time.Second), retry.BackoffDelay(time.Millisecond*100))
    		if waypointError == nil {
    			t.Fatal("Waypoint for non-existent tag foo created deployment!")
    		}
    	})
    }
    
    func TestRemoveAddWaypoint(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    			if volumeToAttach.NodeName != attachedNode {
    				if volumeToAttach.MultiAttachErrorReported {
    					return true, nil
    				}
    			}
    		}
    		t.Logf("Warning: MultiAttach error not yet set on Node. Will retry.")
    		return false, nil
    	}
    
    	err := retryWithExponentialBackOff(100*time.Millisecond, multAttachCheckFunc)
    	if err != nil {
    		t.Fatalf("Timed out waiting for MultiAttach Error to be set on non-attached node")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/pv_controller.go

    					claimMsg := fmt.Sprintf("volume %q already bound to a different claim.", volume.Name)
    					ctrl.eventRecorder.Event(claim, v1.EventTypeWarning, events.FailedBinding, claimMsg)
    					// User asked for a specific PV, retry later
    					if _, err = ctrl.updateClaimStatus(ctx, claim, v1.ClaimPending, nil); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	testService = "test"
    )
    
    // eventually polls cond until it completes (returns true) or times out (resulting in a test failure).
    func eventually(t test.Failer, cond func() bool) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		if !cond() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/route/route.go

    	}
    }
    
    // BuildDefaultHTTPOutboundRoute builds a default outbound route, including a retry policy.
    func BuildDefaultHTTPOutboundRoute(clusterName string, operation string, mesh *meshconfig.MeshConfig) *route.Route {
    	out := buildDefaultHTTPRoute(clusterName, operation)
    	// Add a default retry policy for outbound routes.
    	out.GetRoute().RetryPolicy = retry.ConvertPolicy(mesh.GetDefaultHttpRetryPolicy(), false)
    	setTimeout(out.GetRoute(), nil, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    		"NS: " + r.NS.GoString() + ", " +
    		"MBox: " + r.MBox.GoString() + ", " +
    		"Serial: " + printUint32(r.Serial) + ", " +
    		"Refresh: " + printUint32(r.Refresh) + ", " +
    		"Retry: " + printUint32(r.Retry) + ", " +
    		"Expire: " + printUint32(r.Expire) + ", " +
    		"MinTTL: " + printUint32(r.MinTTL) + "}"
    }
    
    func unpackSOAResource(msg []byte, off int) (SOAResource, error) {
    	var ns Name
    	off, err := ns.unpack(msg, off)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller.go

    		toUpdate.Status.NumberUnavailable = int32(numberUnavailable)
    
    		if _, updateErr = dsClient.UpdateStatus(ctx, toUpdate, metav1.UpdateOptions{}); updateErr == nil {
    			return nil
    		}
    
    		// Stop retrying if we exceed statusUpdateRetries - the DaemonSet will be requeued with a rate limit.
    		if i >= StatusUpdateRetries {
    			break
    		}
    		// Update the set with the latest resource version for the next poll
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top