- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for CallOrFail (0.34 sec)
-
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/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) -
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) -
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) -
tests/integration/pilot/original_src_addr_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
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) -
tests/integration/pilot/multiplecontrolplanes/main_test.go
from: apps.NS[2].B, to: apps.NS[0].B, }, } for _, tc := range testCases { t.NewSubTest(tc.name).Run(func(t framework.TestContext) { tc.from[0].CallOrFail(t, echo.CallOptions{ To: tc.to, Port: echo.Port{ Protocol: protocol.HTTP, ServicePort: 80, }, Check: check.And( check.ErrorOrStatus(tc.statusCode),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 16:52:52 UTC 2024 - 9.1K bytes - Viewed (0) -
tests/integration/telemetry/api/stats_test.go
}) if err != nil { return err } return nil } func SendTrafficOrFail(t test.Failer, from echo.Instance) { from.CallOrFail(t, echo.CallOptions{ To: GetTarget(), Port: echo.Port{ Name: "http", }, Check: check.OK(), }) from.CallOrFail(t, echo.CallOptions{ To: apps.Naked, Port: echo.Port{ Name: "http", }, Retry: echo.Retry{ NoRetry: true, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.3K bytes - Viewed (0)