Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 328 for retryOn (0.14 sec)

  1. tests/integration/pilot/gateway_test.go

    		HTTP: echo.HTTP{
    			Headers: headers.New().WithHost("bar").Build(),
    		},
    		Address: fmt.Sprintf("gateway-istio.%s.svc.cluster.local", apps.Namespace.Name()),
    		Check:   check.OK(),
    		Retry: echo.Retry{
    			Options: []retry.Option{retry.Timeout(time.Minute)},
    		},
    	})
    	apps.B[0].CallOrFail(t, echo.CallOptions{
    		Port:   echo.Port{ServicePort: 80},
    		Scheme: scheme.HTTP,
    		HTTP: echo.HTTP{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. pkg/util/goroutinemap/goroutinemap_test.go

    		time.Duration(initialOperationWaitTimeShort),
    		func() (bool, error) {
    			err := grm.Run(operationName, operation2)
    			if err != nil {
    				t.Logf("Warning: NewGoRoutine failed with %v. Will retry.", err)
    				return false, nil
    			}
    			return true, nil
    		},
    	)
    
    	// Assert
    	if err2 != nil {
    		t.Fatalf("NewGoRoutine failed. Expected: <no error> Actual: <%v>", err2)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    	Prefix          string                 `yaml:"prefix" json:"prefix"`
    	NotificationCfg BatchJobNotification   `yaml:"notify" json:"notify"`
    	Retry           BatchJobRetry          `yaml:"retry" json:"retry"`
    	Rules           []BatchJobExpireFilter `yaml:"rules" json:"rules"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpire{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. tests/integration/pilot/tunneling_test.go

    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/common/ports"
    	"istio.io/istio/pkg/test/framework/components/istioctl"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/tests/integration/pilot/forwardproxy"
    )
    
    const (
    	forwardProxyConfigMapFile    = "testdata/forward-proxy/configmap.tmpl.yaml"
    	forwardProxyServiceFile      = "testdata/forward-proxy/service.tmpl.yaml"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    	if err == nil {
    		c.queue.Forget(key)
    		return
    	}
    
    	if c.queue.NumRequeues(key) < maxRetries {
    		logger.Info("Error mirroring EndpointSlices for Endpoints, retrying", "key", key, "err", err)
    		c.queue.AddRateLimited(key)
    		return
    	}
    
    	logger.Info("Retry budget exceeded, dropping Endpoints out of the queue", "key", key, "err", err)
    	c.queue.Forget(key)
    	utilruntime.HandleError(err)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. tests/integration/security/sds_ingress/util/util.go

    	callType CallType, tlsCtx TLSContext, exRsp ExpectedResponse, useHTTP3 bool,
    ) {
    	ctx.Helper()
    	opts := echo.CallOptions{
    		Timeout: time.Second,
    		Retry: echo.Retry{
    			Options: []retry.Option{retry.Timeout(time.Minute * 2)},
    		},
    		Port: echo.Port{
    			Protocol: protocol.HTTPS,
    		},
    		HTTP: echo.HTTP{
    			HTTP3:   useHTTP3,
    			Path:    fmt.Sprintf("/%s", path),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    	"istio.io/istio/pilot/pkg/serviceregistry/util/xdsfake"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/kube/mcs"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const (
    	serviceImportName      = "test-svc"
    	serviceImportNamespace = "test-ns"
    	serviceImportPodIP     = "128.0.0.2"
    	serviceImportCluster   = "test-cluster"
    )
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. pilot/pkg/autoregistration/controller_test.go

    		// stop processing the delayed close queue in c1, forces using periodic cleanup
    		close(stop1)
    		stopped1 = true
    		// unfortunately, this retry at worst could be twice as long as the sweep interval
    		retry.UntilSuccessOrFail(t, func() error {
    			return checkNoEntry(store, wgA, p)
    		}, retry.Timeout(time.Until(time.Now().Add(21*features.WorkloadEntryCleanupGracePeriod))))
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

    		// server error and 429's retry
    		{name: "server errors retry", attr: aliceAttr, allow: false, statusCode: 500, expectedErr: true, expectedAuthorized: false, expectedCalls: 5},
    		{name: "429s retry", attr: aliceAttr, allow: false, statusCode: 429, expectedErr: true, expectedAuthorized: false, expectedCalls: 5},
    		// regular errors return errors but do not retry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/crypto/tls/bogo_shim_test.go

    				log.Fatalf("expected no ECH retry configs, got some")
    			}
    			if *expectedECHRetryConfigs != "" {
    				expectedRetryConfigs, err := base64.StdEncoding.DecodeString(*expectedECHRetryConfigs)
    				if err != nil {
    					log.Fatalf("failed to decode expected retry configs: %s", err)
    				}
    				if !bytes.Equal(retryErr.RetryConfigList, expectedRetryConfigs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top