Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 582 for retryOn (0.22 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. pkg/config/validation/validation_test.go

    		}, valid: false},
    		{name: "invalid policy retryOn", in: &networking.HTTPRetry{
    			Attempts:      10,
    			PerTryTimeout: &durationpb.Duration{Seconds: 2},
    			RetryOn:       "5xx,invalid policy",
    		}, valid: false},
    		{name: "invalid http status retryOn", in: &networking.HTTPRetry{
    			Attempts:      10,
    			PerTryTimeout: &durationpb.Duration{Seconds: 2},
    			RetryOn:       "600,connect-failure",
    		}, valid: false},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    	if retries.Attempts == 0 && (retries.PerTryTimeout != nil || retries.RetryOn != "" || retries.RetryRemoteLocalities != nil) {
    		errs = appendErrors(errs, errors.New("http retry policy configured when attempts are set to 0 (disabled)"))
    	}
    
    	if retries.PerTryTimeout != nil {
    		errs = appendErrors(errs, agent.ValidateDuration(retries.PerTryTimeout))
    	}
    	if retries.RetryOn != "" {
    		retryOnPolicies := strings.Split(retries.RetryOn, ",")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  5. pkg/test/util/retry/retry.go

    //  limitations under the License.
    
    package retry
    
    import (
    	"errors"
    	"fmt"
    	"time"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test"
    )
    
    var scope = log.RegisterScope("retry", "logs for retries")
    
    const (
    	// DefaultTimeout the default timeout for the entire retry operation
    	DefaultTimeout = time.Second * 30
    
    	// DefaultDelay the default delay between successive retry attempts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                            retryOn:
                              description: Specifies the conditions under which retry
                                takes place.
                              type: string
                            retryRemoteLocalities:
                              description: Flag to specify whether the retries should
                                retry to other localities.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  7. tests/integration/pilot/common/routing.go

    				},
    			},
    		},
    		workloadAgnostic: true,
    	})
    	// Retry conditions have been added to just check that config is correct.
    	// Retries are not specifically tested. TODO if we actually test retries, include proxyless
    	t.RunTraffic(TrafficTestCase{
    		name: "retry conditions",
    		config: `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  8. manifests/charts/base/crds/crd-all.gen.yaml

                            retryOn:
                              description: Specifies the conditions under which retry
                                takes place.
                              type: string
                            retryRemoteLocalities:
                              description: Flag to specify whether the retries should
                                retry to other localities.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            in 15..17 -> {
              type = null // 'event' on a line of its own
            }
    
            in 18..19 -> {
              val retryMs = source.readRetryMs()
              if (retryMs != -1L) {
                callback.onRetryChange(retryMs)
              }
            }
    
            -1 -> {
              val lineEnd = source.indexOfElement(CRLF)
              if (lineEnd != -1L) {
                // Skip the line and newline
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/output/all_on.golden-show-in-gh-pull-request.yaml

                            retryOn:
                              description: Specifies the conditions under which retry
                                takes place.
                              type: string
                            retryRemoteLocalities:
                              description: Flag to specify whether the retries should
                                retry to other localities.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 506.8K bytes
    - Viewed (0)
Back to top