Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for NewSuite (0.9 sec)

  1. tests/integration/security/external_ca/main_test.go

    	// Refer to https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/
    	// nolint: staticcheck
    	var certs []csrctrl.SignerRootCert
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		RequireMinVersion(19).
    		Setup(func(ctx resource.Context) error {
    			var clients []kube.Client
    			for _, c := range ctx.AllClusters() {
    				clients = append(clients, c)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 22 14:18:21 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    									}
    									return nil
    								}, retry.Delay(3*time.Second), retry.Timeout(80*time.Second))
    							})
    						}
    					})
    			}
    		})
    }
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)).
    		Setup(tracing.TestSetup).
    		Setup(testSetup).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tests/integration/ambient/cnirepair/main_test.go

    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireMinVersion(24).
    		Label(label.IPv4). // https://github.com/istio/istio/issues/41008
    		Setup(func(t resource.Context) error {
    			t.Settings().Ambient = true
    			return nil
    		}).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. tests/integration/telemetry/api/setup_test.go

    var (
    	apps cdeployment.SingleNamespaceView
    
    	mockProm echo.Instances
    	ist      istio.Instance
    	promInst prometheus.Instance
    	ingr     []ingress.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		// TODO: Remove this restriction once we validate our prometheus helm chart version is high enough
    		Label(label.IPv4). // https://github.com/istio/istio/issues/35915
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/envoy_ratelimit_test.go

    			defer cleanup()
    			sendTrafficAndCheckIfRatelimited(t)
    		})
    }
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, nil)).
    		Setup(testSetup).
    		Setup(setupPrometheus).
    		Run()
    }
    
    func setupPrometheus(ctx resource.Context) (err error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tests/integration/README.md

    ```console
    $ cd ${ISTIO}/tests/integration
    $ mkdir mysuite
    ```
    
    Within that package, create a `TestMain` to bootstrap the test suite:
    
    ```go
    func TestMain(m *testing.M) {
        framework.
            NewSuite("mysuite", m).
            Run()
    }
    ```
    
    Next, define your tests in the same package:
    
    ```go
    func TestMyLogic(t *testing.T) {
        framework.
            NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/proxyconfig/proxyconfig_test.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var i istio.Instance
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Skip("used for feature development, no need to run in CI").
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&i, func(ctx resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    values:
      meshConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tests/integration/security/filebased_tls_origination/main_test.go

    	externalService echo.Instances
    	appNS           namespace.Instance
    	serviceNS       namespace.Instance
    	customConfig    []echo.Config
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&inst, setupConfig, cert.CreateCustomEgressSecret)).
    		Setup(namespace.Setup(&appNS, namespace.Config{Prefix: "appns", Inject: true})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tests/integration/security/cacert_rotation/main_test.go

    	"istio.io/istio/tests/integration/security/util/cert"
    	"istio.io/istio/tests/integration/security/util/reachability"
    )
    
    var apps deployment.SingleNamespaceView
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(nil, setupConfig, cert.CreateCASecret)).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    		Setup(func(ctx resource.Context) error {
    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/security/ca_custom_root/main_test.go

    	serverNakedFooAlt echo.Instances
    	customConfig      []echo.Config
    	echo1NS           namespace.Instance
    	config            deployment.Config
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		// k8s is required because the plugin CA key and certificate are stored in a k8s secret.
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&inst, setupConfig, cert.CreateCASecret)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top