- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for CallOrFail (0.12 sec)
-
tests/integration/pilot/gateway_test.go
} for _, tc := range testCases { t.NewSubTest(fmt.Sprintf("gateway-connectivity-from-%s", tc.from[0].NamespacedName())).Run(func(t framework.TestContext) { tc.from[0].CallOrFail(t, echo.CallOptions{ Port: echo.Port{ Protocol: protocol.HTTP, ServicePort: 80, }, Scheme: scheme.HTTP, HTTP: echo.HTTP{ Headers: headers.New().WithHost(tc.host).Build(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.7K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
Count: 10, } src.CallOrFail(t, opts) }) t.NewSubTest("non-authz target allow").RunParallel(func(t framework.TestContext) { opts := echo.CallOptions{ To: otherDst, Check: check.OK(), Port: echo.Port{Name: "http"}, Scheme: scheme.HTTP, Count: 10, } src.CallOrFail(t, opts) }) }) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
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) -
tests/integration/telemetry/api/accesslogs_test.go
}, Check: check.ResponseHeader(injectedHeader, ""), } count = logCount(t, from, testID) _ = cltInstance.CallOrFail(t, httpOpts) } else { GetClientInstances()[0].CallOrFail(t, echo.CallOptions{ To: to, Port: echo.Port{ Name: "http", }, HTTP: http, }) count = logCount(t, to, testID) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.6K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
config: svc + tmpl.MustEvaluate(destRule, "useSourceIp: true"), call: c.CallOrFail, opts: callOpts, }) t.RunTraffic(TrafficTestCase{ name: "query param" + c.Config().Service, config: svc + tmpl.MustEvaluate(destRule, "httpQueryParameterName: some-query-param"), call: c.CallOrFail, opts: callOpts, }) t.RunTraffic(TrafficTestCase{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K 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)