- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for CallOrFail (0.12 sec)
-
tests/integration/pilot/label_test.go
t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{ "Destination": "a", }, cfg).ApplyOrFail(t) from := apps.B[0] to := apps.A // First, expect to fail. Subset does not match _ = from.CallOrFail(t, echo.CallOptions{ To: to, Port: echo.Port{ Name: "http", }, Count: 1, Check: check.BodyContains("no healthy upstream"), }) lbls := map[string]string{"subset": "my-subset"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 2.1K bytes - Viewed (0) -
tests/integration/pilot/headers_test.go
} } return nil }) // Check request and responses have no proxy headers instance.CallOrFail(t, echo.CallOptions{ To: apps.Naked, Port: echo.Port{ Name: ports.HTTP.Name, }, Check: check.And(check.OK(), checkNoProxyHeaders), }) apps.Naked[0].CallOrFail(t, echo.CallOptions{ To: instance, Port: echo.Port{ Name: ports.HTTP.Name, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 20 16:01:31 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/caller.go
From Caller Opts CallOptions Responses echo.Responses } type Caller interface { // Call from this Instance to a target Instance. Call(options CallOptions) (CallResult, error) CallOrFail(t test.Failer, options CallOptions) CallResult } type Callers []Caller // Instances returns an Instances if all callers are Instance, otherwise returns nil. func (c Callers) Instances() Instances {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 22:50:35 UTC 2022 - 1.3K bytes - Viewed (0) -
tests/integration/security/external_ca/reachability_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) }) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2K bytes - Viewed (0) -
tests/integration/security/filebased_tls_origination/destination_rule_tls_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.1K bytes - Viewed (0) -
tests/integration/ambient/wasm_test.go
HTTP: echo.HTTP{ Path: "/path", Method: "GET", }, Count: 1, Retry: echo.Retry{ Options: append(defaultOptions, options...), }, Check: checker, } _ = cltInstance.CallOrFail(ctx, httpOpts) } func sendTrafficToHostname(ctx framework.TestContext, checker echo.Checker, hostname string, options ...retry.Option) { ctx.Helper() if len(GetClientInstances()) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 21:02:05 UTC 2024 - 7.2K bytes - Viewed (0) -
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) -
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) -
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) -
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)