Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 571 for retryOn (0.3 sec)

  1. 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)
  2. 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)
  3. tests/integration/telemetry/api/accesslogs_test.go

    				defaultOptions := []retry.Option{retry.Delay(100 * time.Millisecond), retry.Timeout(200 * time.Second)}
    				httpOpts := echo.CallOptions{
    					Address: hostname,
    					Port: echo.Port{
    						Name:        "http",
    						ServicePort: 80,
    						Protocol:    protocol.HTTP,
    					},
    					HTTP:  http,
    					Count: 1,
    					Retry: echo.Retry{
    						Options: append(defaultOptions, retry.Timeout(framework.TelemetryRetryTimeout)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/kubeapiserver/options/authentication.go

    					authenticationconfigmetrics.RecordAuthenticationConfigAutomaticReloadFailure(apiServerID)
    					// we do not update the tracker here because this error could eventually resolve as we keep retrying
    					return
    				}
    
    				authConfigData := string(authConfigBytes)
    
    				if authConfigData == trackedAuthenticationConfigData {
    					return
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/webhooks/validation/controller/controller_test.go

    		fetch(unpatchedWebhookConfig.Name),
    		webhookConfigAfterCAUpdate,
    		retry.Message("webhook should change after cert change"),
    		LongRetry,
    	)
    }
    
    // LongRetry is used when comparing webhook values. Apparently the values are so large that with -race
    // on the comparison can take a few seconds, meaning we never retry with the default settings.
    var LongRetry = retry.Timeout(time.Second * 20)
    
    func TestLoadCaCertPem(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 03:21:04 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. tests/integration/telemetry/api/customize_metrics_test.go

    				_, err = util.QueryPrometheus(t, cluster, grpcDestinationQuery, promInst)
    				if err != nil {
    					util.PromDiff(t, promInst, cluster, grpcDestinationQuery)
    					return err
    				}
    				return nil
    			}, retry.Delay(1*time.Second), retry.Timeout(300*time.Second))
    			// check tag removed
    			if strings.Contains(httpMetricVal, removedTag) {
    				t.Errorf("failed to remove tag: %v", removedTag)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/plugin/noderesources.go

    		c.queue.Add(driverName)
    	}
    }
    
    // monitorPlugin calls the plugin to retrieve resource information and caches
    // all responses that it gets for processing in the sync method. It keeps
    // retrying until an error or EOF response indicates that no further data is
    // going to be sent, then watch resources of the plugin stops until it
    // re-registers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top