Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 206 for NewTest (0.13 sec)

  1. tests/integration/pilot/localwatcher/localsecretwatcher_test.go

    values:
      pilot:
        env:
          LOCAL_CLUSTER_SECRET_WATCHER: "true"`
    		})).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    		Run()
    }
    
    func TestTraffic(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			common.RunAllTrafficTests(t, i, apps)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pkg/test/framework/operations.go

    package framework
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/test/framework/label"
    )
    
    // Run runs the given test.
    func Run(t *testing.T, fn func(ctx TestContext)) {
    	NewTest(t).Run(fn)
    }
    
    // NewContext creates a new test context and returns. It is up to the caller to close to context by calling
    // .Done() at the end of the test run.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 29 21:19:48 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. tests/integration/pilot/label_test.go

    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/check"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestLabelChanges(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			cfg := `apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: {{.Destination}}
    spec:
      hosts:
      - {{.Destination}}
      http:
      - route:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. tests/integration/telemetry/tracing/zipkin/client_tracing_test.go

    // are generated and that they are all a part of the same distributed trace with correct hierarchy and name.
    func TestClientTracing(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			appNsInst := tracing.GetAppNamespace()
    			for _, cluster := range t.Clusters().ByNetwork()[t.Clusters().Default().NetworkName()] {
    				cluster := cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. tests/integration/security/ca_custom_root/multi_root_test.go

    	"istio.io/istio/pkg/test/framework/components/echo/check"
    	"istio.io/istio/pkg/test/framework/components/echo/match"
    )
    
    func TestMultiRootSetup(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			testNS := apps.EchoNamespace.Namespace
    
    			t.ConfigIstio().YAML(testNS.Name(), POLICY).ApplyOrFail(t)
    
    			for _, cluster := range t.Clusters() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tests/integration/pilot/vm_test.go

    	}
    	for distro, image := range imgs {
    		if distro == echo.DefaultVMDistro {
    			continue
    		}
    		out = append(out, image)
    	}
    	return out
    }
    
    func TestVmOSPost(t *testing.T) {
    	framework.
    		NewTest(t).
    		Label(label.Postsubmit).
    		Run(func(t framework.TestContext) {
    			if t.Settings().Skip(echo.VM) {
    				t.Skip("VM tests are disabled")
    			}
    			b := deployment.New(t, t.Clusters().Primaries().Default())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top