Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for retryOn (0.14 sec)

  1. pilot/pkg/networking/core/route/retry/retry_test.go

    				g.Expect(policy).To(Not(BeNil()))
    				g.Expect(policy.RetryOn).To(Equal(retry.DefaultPolicy().RetryOn))
    				g.Expect(policy.RetriableStatusCodes).To(Equal(retry.DefaultPolicy().RetriableStatusCodes))
    			},
    		},
    		{
    			name: "TestMissingPerTryTimeoutShouldReturnNil",
    			// Create a route with a retry policy without per try timeout.
    			route: &networking.HTTPRoute{
    				Retries: &networking.HTTPRetry{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/retry/retry.go

    		out.RetryOn, out.RetriableStatusCodes = parseRetryOn(in.RetryOn)
    		// If user has just specified HTTP status codes in retryOn but have not specified "retriable-status-codes", let us add it.
    		if len(out.RetriableStatusCodes) > 0 && !strings.Contains(out.RetryOn, "retriable-status-codes") {
    			out.RetryOn += ",retriable-status-codes"
    		}
    	}
    
    	if in.PerTryTimeout != nil {
    		out.PerTryTimeout = in.PerTryTimeout
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/upgrade/health.go

    			klog.V(2).Infof("could not get Job %q in the namespace %q, retrying: %v", jobName, ns, err)
    			return false, nil
    		}
    		for _, cond := range job.Status.Conditions {
    			if cond.Type == batchv1.JobComplete {
    				return true, nil
    			}
    		}
    		lastError = errors.Errorf("no condition of type %v", batchv1.JobComplete)
    		klog.V(2).Infof("Job %q in the namespace %q is not yet complete, retrying", jobName, ns)
    		return false, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. pkg/envoy/agent.go

    				if err != nil {
    					log.Errorf(err.Error())
    					retryCount++
    					// Max retry 5 times
    					if retryCount > 4 {
    						a.abortCh <- errAbort
    						log.Warnf("Graceful termination logic ended prematurely, error while obtaining downstream_cx_active stat (Max retry %d exceeded)", retryCount)
    						break graceful_loop
    					}
    					log.Warnf("Retrying (%d attempt) to obtain active connections...", retryCount)
    					continue graceful_loop
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pkg/test/util/assert/tracker.go

    		}
    		return nil
    	}, retry.Timeout(time.Second), retry.BackoffDelay(time.Millisecond))
    	if err != nil {
    		t.t.Fatal(err)
    	}
    	t.Empty()
    }
    
    // WaitCompare waits for an event to happen and ensures it meets a custom comparison function
    func (t *Tracker[T]) WaitCompare(f func(T) bool) {
    	t.t.Helper()
    	var err error
    	retry.UntilSuccessOrFail(t.t, func() error {
    		t.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. pkg/controller/storageversionmigrator/storageversionmigrator.go

    	}
    	defer svmc.queue.Done(key)
    
    	err := svmc.sync(ctx, key)
    	if err == nil {
    		svmc.queue.Forget(key)
    		return true
    	}
    
    	klog.FromContext(ctx).V(2).Info("Error syncing SVM resource, retrying", "svm", key, "err", err)
    	svmc.queue.AddRateLimited(key)
    
    	return true
    }
    
    func (svmc *SVMController) sync(ctx context.Context, key string) error {
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/kubelet/lifecycle/handlers.go

    	if err != nil {
    		return err
    	}
    	resp, err := hr.httpDoer.Do(req)
    	discardHTTPRespBody(resp)
    
    	if isHTTPResponseError(err) {
    		klog.V(1).ErrorS(err, "HTTPS request to lifecycle hook got HTTP response, retrying with HTTP.", "pod", klog.KObj(pod), "host", req.URL.Host)
    
    		req := req.Clone(context.Background())
    		req.URL.Scheme = "http"
    		req.Header.Del("Authorization")
    		resp, httpErr := hr.httpDoer.Do(req)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. tests/integration/ambient/cacert_rotation_test.go

    			}
    
    			// perform one retry to handle race condition where ztunnel cert is refreshed before Istiod certificates are reloaded
    			retry.UntilSuccess(func() error {
    				newWorkloadCert := waitForWorkloadCertUpdate(t, ztunnelPod, sa, istioCtl, originalWorkloadSecret)
    				return verifyWorkloadCert(t, newWorkloadCert, newX509)
    			}, retry.MaxAttempts(2), retry.Timeout(5*time.Minute))
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/TestRetryPluginSmokeTest.groovy

            buildFile << """
                plugins {
                    id "java"
                    id "org.gradle.test-retry" version "${TestedVersions.testRetryPlugin}"
                }
    
                ${mavenCentralRepository()}
            """
        }
    
        @Issue('https://plugins.gradle.org/plugin/org.gradle.test-retry')
        def 'test retry plugin'() {
            given:
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa_s390x.s

    	BVS  loop        // branch back if interrupted
    	BGT  retry       // signing unsuccessful, but retry with new CSPRN
    	BLT  error       // condition code of 1 indicates a failure
    
    success:
    	MOVD $0, errn+16(FP) // return 0 - sign/verify was successful
    	RET
    
    error:
    	MOVD $1, errn+16(FP) // return 1 - sign/verify failed
    	RET
    
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 891 bytes
    - Viewed (0)
Back to top