Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 754 for retryOn (0.11 sec)

  1. tests/integration/operator/switch_cr_test.go

    					}
    				}
    				return nil
    			}, retry.Timeout(retryTimeOut), retry.Delay(retryDelay))
    
    			// test operator remove command by purge
    			scopes.Framework.Infof("checking operator remove command")
    			removeCmd = []string{
    				"operator", "remove",
    				"--skip-confirmation",
    				"--purge",
    			}
    			istioCtl.InvokeOrFail(t, removeCmd)
    
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/with_retry_after.go

    	TearDownConnection bool
    
    	// Message describes why Retry-After response has been sent by the server
    	Message string
    }
    
    // shouldRespondWithRetryAfterFunc returns true if the requests should
    // be rejected with a Retry-After response once certain conditions are met.
    // The retryAfterParams returned contains instructions on how to
    // construct the Retry-After response.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 31 14:10:46 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    			// this means 'WithRetryAfter' has started sending Retry-After response.
    			// we are going to exempt the same set of requests that WithRetryAfter are
    			// exempting from being rejected with a Retry-After response.
    			if isRequestExemptFn(req) {
    				handler.ServeHTTP(w, req)
    				return
    			}
    
    			// When apiserver is shutting down, signal clients to retry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/istio-agent/health/health_check_test.go

    			}
    			cont <- struct{}{}
    			eventNum.Inc()
    		}, quitChan)
    		retry.UntilSuccessOrFail(t, func() error {
    			if int(eventNum.Load()) != len(expectedTCPEvents) {
    				return fmt.Errorf("waiting for %v events", len(expectedTCPEvents)-int(eventNum.Load()))
    			}
    			return nil
    		}, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second))
    		close(quitChan)
    	})
    	t.Run("http", func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. tests/integration/telemetry/tracing/zipkin/client_tracing_test.go

    						}
    						if !tracing.VerifyEchoTraces(ctx, appNsInst.Name(), cluster.Name(), traces) {
    							return errors.New("cannot find expected traces")
    						}
    						return nil
    					}, retry.Delay(3*time.Second), retry.Timeout(80*time.Second))
    				})
    
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tests/integration/ambient/waypoint_test.go

    					}
    				}
    				return nil
    			}, retry.Timeout(15*time.Second), retry.BackoffDelay(time.Millisecond*100))
    
    			// delete all waypoints in namespace, so w3 should be deleted
    			istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    				"waypoint",
    				"-n",
    				nsConfig.Name(),
    				"delete",
    				"--all",
    			})
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tests/integration/pilot/ingress_test.go

    								fmt.Sprintf(ingressConfigTemplate, "ingress", "istio-test", c.path, c.path, c.prefixPath)).
    								Apply(); err != nil {
    								t.Fatal(err)
    							}
    							c.call.Retry.Options = []retry.Option{
    								retry.Delay(500 * time.Millisecond),
    								retry.Timeout(time.Minute * 2),
    							}
    							ingr.CallOrFail(t, c.call)
    						})
    					}
    				})
    			}
    
    			defaultIngress := istio.DefaultIngressOrFail(t, t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. cni/test/install_cni.go

    	return nil
    }
    
    // compareConfResult does a string compare of 2 test files.
    func compareConfResult(result, expected string, t *testing.T) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		return checkResult(result, expected)
    	}, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second*3))
    }
    
    // checkBinDir verifies the presence/absence of test files.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/robustio/robustio_flaky.go

    package robustio
    
    import (
    	"errors"
    	"math/rand"
    	"os"
    	"syscall"
    	"time"
    )
    
    const arbitraryTimeout = 2000 * time.Millisecond
    
    // retry retries ephemeral errors from f up to an arbitrary timeout
    // to work around filesystem flakiness on Windows and Darwin.
    func retry(f func() (err error, mayRetry bool)) error {
    	var (
    		bestErr     error
    		lowestErrno syscall.Errno
    		start       time.Time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

    				Count: 1,
    				Port: echo.Port{
    					Name: "http",
    				},
    				Check: check.And(
    					check.OK(),
    					check.RequestHeader("X-Forwarded-Client-Cert", ExpectedXfccHeader)),
    				Retry: echo.Retry{
    					Options: []retry.Option{retry.Delay(5 * time.Second), retry.Timeout(1 * time.Minute)},
    				},
    			}
    
    			client[0].CallOrFail(t, opts)
    		})
    }
    
    const (
    	DestinationRuleConfigMutual = `
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top