Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for NewTest (0.18 sec)

  1. tests/integration/pilot/original_src_addr_test.go

    import (
    	"fmt"
    	"testing"
    
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/echo"
    )
    
    func TestTproxy(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			if t.Settings().Skip(echo.TProxy) {
    				t.Skip()
    			}
    			workloads, err := apps.A[0].Workloads()
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tests/integration/security/ecc_signature_algorithm/mtls_strict_test.go

    kind: PeerAuthentication
    metadata:
      name: default
      namespace: {{.AppNamespace}}
    spec:
      mtls:
        mode: STRICT
    `
    )
    
    func TestStrictMTLS(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := apps.EchoNamespace.Namespace.Name()
    			args := map[string]string{"AppNamespace": ns}
    			t.ConfigIstio().Eval(ns, args, PeerAuthenticationConfig).ApplyOrFail(t, apply.Wait)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

    )
    
    func TestClientToServiceTls(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			createObject(t, echo1NS.Name(), DestinationRuleConfigMutual)
    			createObject(t, "istio-system", PeerAuthenticationConfig)
    
    			opts := echo.CallOptions{
    				To:    server,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tests/integration/telemetry/tracing/zipkin/server_tracing_test.go

    //
    // More information on distributed tracing can be found here: https://istio.io/docs/tasks/telemetry/distributed-tracing/zipkin/
    func TestServerTracing(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			appNsInst := tracing.GetAppNamespace()
    			for _, cluster := range t.Clusters().ByNetwork()[t.Clusters().Default().NetworkName()] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tests/integration/pilot/cross_revision_test.go

    	rawExtraRevs, f := os.LookupEnv("ISTIO_TEST_EXTRA_REVISIONS")
    	if !f {
    		t.Skip("ISTIO_TEST_EXTRA_REVISIONS not specified")
    	}
    	extraRevs := strings.Split(rawExtraRevs, ",")
    
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			namespaces := make([]revisionedNamespace, 0, len(extraRevs))
    			for _, rev := range extraRevs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/istioctl_metrics_test.go

    // 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 {
    				if err := SendTraffic(GetClientInstances()[0]); err != nil {
    					return err
    				}
    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/security/https_jwt/https_jwt_test.go

    	"istio.io/istio/tests/integration/security/util"
    )
    
    // TestJWTHTTPS tests the requestauth policy with https jwks server.
    func TestJWTHTTPS(t *testing.T) {
    	payload1 := strings.Split(jwt.TokenIssuer1, ".")[1]
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := apps.EchoNamespace.Namespace
    
    			cases := []struct {
    				name          string
    				policyFile    string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tests/integration/pilot/grpc_probe_test.go

    	"istio.io/istio/pkg/test/framework/components/echo/deployment"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    )
    
    func TestGRPCProbe(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			if !t.Clusters().Default().MinKubeVersion(23) {
    				t.Skip("gRPC probe not supported")
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tests/integration/pilot/tcp_probe_test.go

    	"istio.io/istio/pkg/test/framework/components/echo/deployment"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    )
    
    func TestTcpProbe(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "tcp-probe", Inject: true})
    			for _, testCase := range []struct {
    				name     string
    				rewrite  bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. tests/integration/pilot/multicluster_test.go

    )
    
    var (
    	multiclusterRetryTimeout = retry.Timeout(1 * time.Minute)
    	multiclusterRetryDelay   = retry.Delay(500 * time.Millisecond)
    )
    
    func TestClusterLocal(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresMinClusters(2).
    		RequireIstioVersion("1.11").
    		Run(func(t framework.TestContext) {
    			// TODO use echotest to dynamically pick 2 simple pods from apps.All
    			sources := apps.A
    			to := apps.B
    
    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