Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for CallOrFail (0.18 sec)

  1. tests/integration/pilot/ingress_test.go

    								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)
    			t.NewSubTest("status").Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. tests/integration/security/ca_custom_root/multi_root_test.go

    									Name: "https",
    								},
    								Address: to.Config().Service,
    								Scheme:  s,
    							}
    							opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    
    							from.CallOrFail(t, opts)
    						})
    					}
    
    					client := match.Cluster(cluster).FirstOrFail(t, client)
    					cases := []struct {
    						from   echo.Instance
    						to     echo.Instances
    						expect bool
    					}{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tests/util/sanitycheck/sanity_check.go

    					WorkloadPort: 8090,
    				},
    			},
    		}).
    		BuildOrFail(t)
    
    	return testNs, client, server
    }
    
    func RunTrafficTestClientServer(t framework.TestContext, client, server echo.Instance) {
    	_ = client.CallOrFail(t, echo.CallOptions{
    		To:    server,
    		Count: 1,
    		Port: echo.Port{
    			Name: "http",
    		},
    		Check: check.OK(),
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 26 21:20:56 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. tests/integration/security/ecc_signature_algorithm/mtls_strict_test.go

    			t.ConfigIstio().Eval(ns, args, DestinationRuleConfigIstioMutual).ApplyOrFail(t, apply.Wait)
    
    			client := apps.EchoNamespace.A[0]
    			server := apps.EchoNamespace.B[0]
    			client.CallOrFail(t, echo.CallOptions{
    				To: server,
    				Port: echo.Port{
    					Name: "http",
    				},
    				Count: 1,
    				Check: check.OK(),
    			})
    
    			certPEMs := cert.DumpCertFromSidecar(t, client, server, "http")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

    					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
    kind: DestinationRule
    metadata:
      name: server
      namespace: {{.AppNamespace}}
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tests/integration/security/cacert_rotation/main_test.go

    					opts := echo.CallOptions{
    						To: to,
    						Port: echo.Port{
    							Name: "http",
    						},
    					}
    					opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    
    					from.CallOrFail(t, opts)
    				})
    
    			// step 1: Update CA root cert with combined root
    			if err := cert.CreateCustomCASecret(t,
    				"ca-cert.pem", "ca-key.pem",
    				"cert-chain.pem", "root-cert-combined.pem"); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. tests/integration/security/ca_custom_root/secure_naming_test.go

    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    							}
    							opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    							a.CallOrFail(t, opts)
    						})
    
    					secureNamingTestCases := []struct {
    						name            string
    						destinationRule string
    						expectSuccess   bool
    					}{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. tests/integration/pilot/original_src_addr_test.go

    				if r.IP == ip {
    					found = true
    				}
    			}
    			if !found {
    				return fmt.Errorf("unexpected IP %s, expected to be contained in %v",
    					r.IP, expected)
    			}
    		}
    
    		return nil
    	}
    	_ = from.CallOrFail(t, echo.CallOptions{
    		To: to,
    		Port: echo.Port{
    			Name: "http",
    		},
    		Count: 1,
    		Check: checker,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. tests/integration/security/https_jwt/https_jwt_test.go

    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    							}
    
    							c.customizeCall(t, from, &opts)
    
    							from.CallOrFail(t, opts)
    						})
    				})
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tests/integration/pilot/multicluster_test.go

    					test.setup(t)
    					for _, source := range sources {
    						source := source
    						t.NewSubTest(source.Config().Cluster.StableName()).RunParallel(func(t framework.TestContext) {
    							source.CallOrFail(t, echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    								Check: check.And(
    									check.OK(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top