Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 436 for retryOn (0.22 sec)

  1. 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)
  2. tests/integration/pilot/analysis/analysis_test.go

      hosts:
      - reviews
      http:
      - route:
        - destination: 
            host: reviews
    `).ApplyOrFail(t)
    			// Status should report error
    			retry.UntilSuccessOrFail(t, func() error {
    				return expectVirtualServiceStatus(t, ns, true)
    			}, retry.Timeout(time.Minute*5))
    			// Apply config to make this not invalid
    			t.ConfigIstio().YAML(ns.Name(), `
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tests/integration/telemetry/api/istioctl_metrics_test.go

    	"istio.io/istio/pkg/test/util/retry"
    )
    
    // TestIstioctlMetrics contains a basic validation of the experimental
    // metrics command. It validates that values are being returned when there is
    // traffic and that the expected default output format is matched.
    func TestIstioctlMetrics(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. tests/integration/pilot/vm_test.go

    				retry.UntilSuccessOrFail(t, func() error {
    					result, err := client.Call(echo.CallOptions{
    						To:    autoVM,
    						Count: 1,
    						Port:  autoVM.Config().Ports[0],
    						Retry: echo.Retry{
    							NoRetry: true,
    						},
    					})
    					return check.And(
    						check.NoError(),
    						check.OK()).Check(result, err)
    				}, retry.Timeout(15*time.Second))
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. tests/integration/pilot/multi_version_revision_test.go

    					Run(func(t framework.TestContext) {
    						retry.UntilSuccessOrFail(t, func() error {
    							result, err := from.Call(echo.CallOptions{
    								To:    to,
    								Count: 1,
    								Port: echo.Port{
    									Name: trafficType,
    								},
    								Retry: echo.Retry{
    									NoRetry: true,
    								},
    							})
    							return check.And(
    								check.NoError(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    									}
    									if !tracing.VerifyOtelEchoTraces(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))
    							})
    						}
    					})
    			}
    		})
    }
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top