Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 176 for NewTest (0.16 sec)

  1. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    		RequireMinVersion(17).
    		Setup(common.InstallMCSCRDs).
    		Setup(istio.Setup(&i, enableMCSAutoExport)).
    		Setup(common.DeployEchosFunc("se", &echos)).
    		Run()
    }
    
    func TestAutoExport(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			serviceExportGVR := common.KubeSettings(ctx).ServiceExportGVR()
    			// Verify that ServiceExport is created automatically for services.
    			ctx.NewSubTest("exported").RunParallel(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. tests/integration/pilot/headers_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/resource/config/apply"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestProxyHeaders(t *testing.T) {
    	framework.NewTest(t).
    		RequireIstioVersion("1.19").
    		Run(func(t framework.TestContext) {
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "proxy-headers", Inject: true})
    			cfg := echo.Config{
    				Namespace: ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. tests/integration/pilot/revisions/revision_tag_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	kubetest "istio.io/istio/pkg/test/kube"
    )
    
    func TestRevisionTags(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			tcs := []struct {
    				name     string
    				tag      string
    				revision string
    				nsLabel  string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    		Setup(common.InstallMCSCRDs).
    		Setup(istio.Setup(&i, enableMCSServiceDiscovery)).
    		Setup(common.DeployEchosFunc("mcs", &echos)).
    		Run()
    }
    
    func TestClusterLocal(t *testing.T) {
    	framework.NewTest(t).
    		RequireIstioVersion("1.11").
    		Run(func(t framework.TestContext) {
    			serviceA = match.ServiceName(echo.NamespacedName{Name: common.ServiceA, Namespace: echos.Namespace})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    		},
    		{
    			name:            "resource detectors",
    			customAttribute: "provider=otel-grpc-with-res-detectors",
    			cfgFile:         otelTracingResDetectorsCfg,
    		},
    	}
    
    	framework.NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			appNsInst := tracing.GetAppNamespace()
    
    			for _, tc := range testcases {
    				ctx.NewSubTest(tc.name).
    					Run(func(ctx framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/customize_metrics_test.go

    	util "istio.io/istio/tests/integration/telemetry"
    )
    
    const (
    	removedTag   = "source_principal"
    	httpProtocol = "http"
    	grpcProtocol = "grpc"
    )
    
    func TestCustomizeMetrics(t *testing.T) {
    	framework.NewTest(t).
    		Label(label.IPv4). // https://github.com/istio/istio/issues/35835
    		Run(func(t framework.TestContext) {
    			setupWasmExtension(t)
    			t.ConfigIstio().YAML(apps.Namespace.Name(), `
    apiVersion: telemetry.istio.io/v1alpha1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. tests/integration/pilot/gateway_conformance_test.go

    	"gateway-conformance-app-backend",
    	"gateway-conformance-web-backend",
    }
    
    var skippedTests = map[string]string{}
    
    func TestGatewayConformance(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			crd.DeployGatewayAPIOrSkip(ctx)
    
    			// Precreate the GatewayConformance namespaces, and apply the Image Pull Secret to them.
    			if ctx.Settings().Image.PullSecret != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 15:22:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. tests/integration/pilot/revisioned_upgrade_test.go

    	successThreshold = 0.95
    )
    
    // TestRevisionedUpgrade tests a revision-based upgrade from the specified versions to current master
    func TestRevisionedUpgrade(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		// Requires installation of CPs from manifests, won't succeed
    		// if existing CPs have different root cert
    		Label(label.CustomSetup).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. tests/integration/pilot/locality_test.go

    const localityDistribute = `
    distribute:
    - from: region
      to:
        nearregion: 80
        region: 20`
    
    func TestLocality(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			destA := apps.B[0]
    			destB := apps.C[0]
    			destC := apps.Naked[0]
    			if !t.Settings().Skip(echo.VM) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tests/integration/ambient/cnirepair/main_test.go

    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    
    	return nil
    }
    
    func TestTrafficWithCNIRepair(t *testing.T) {
    	framework.NewTest(t).
    		TopLevel().
    		Run(func(t framework.TestContext) {
    			apps := common_deploy.NewOrFail(t, t, common_deploy.Config{
    				NoExternalNamespace: true,
    				IncludeExtAuthz:     false,
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top