Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for NewSuite (0.34 sec)

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

    	// its doing something unique to that specific test.
    	apps = deployment.SingleNamespaceView{}
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireExternalControlPlaneTopology().
    		RequireMinVersion(17).
    		RequireMinClusters(2).
    		Setup(istio.Setup(&i, func(t resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    values:
      pilot:
    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. tests/integration/security/remote_jwks/main_test.go

    	echoNS    namespace.Instance
    	systemNs  namespace.Instance
    )
    
    // remote_jwks is to test fully delegating Envoy to fetch JWKs server (PILOT_JWT_ENABLE_REMOTE_JWKS: envoy).
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, setupConfig)).
    		Setup(func(ctx resource.Context) error {
    			var err error
    			systemNs, err = istio.ClaimSystemNamespace(ctx)
    			return err
    		}).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tests/integration/telemetry/tracing/zipkin/main_test.go

    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/tests/integration/telemetry/tracing"
    )
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)).
    		Setup(tracing.TestSetup).
    		Run()
    }
    
    func setupConfig(ctx resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 07 16:59:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/main_test.go

    	apps             deployment.SingleNamespaceView
    	authzServer      authz.Server
    	localAuthzServer authz.Server
    	jwtServer        jwt.Server
    
    	i istio.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&i, func(c resource.Context, cfg *istio.Config) {
    			if !c.Settings().EnableDualStack {
    				cfg.ControlPlaneValues = `
    values:
      pilot: 
        env: 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tests/integration/security/https_jwt/main_test.go

    var (
    	ist       istio.Instance
    	apps      deployment.SingleNamespaceView
    	jwtServer jwt.Server
    	echoNS    namespace.Instance
    	systemNs  namespace.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, setupConfig)).
    		Setup(func(ctx resource.Context) error {
    			var err error
    			systemNs, err = istio.ClaimSystemNamespace(ctx)
    			return err
    		}).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 09:55:58 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tests/integration/security/main_test.go

    	apps             deployment.TwoNamespaceView
    	authzServer      authz.Server
    	localAuthzServer authz.Server
    	jwtServer        jwt.Server
    
    	i istio.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, func(c resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    values:
      global:
        logging:
          level: delta:debug
      pilot: 
        env: 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. pkg/test/framework/suite.go

    		}
    	}
    	return strings.ReplaceAll(d, "/", "_")
    }
    
    // NewSuite returns a new suite instance.
    func NewSuite(m *testing.M) Suite {
    	_, f, _, _ := goruntime.Caller(1)
    	suiteName := deriveSuiteName(f)
    
    	return newSuite(suiteName,
    		func(_ *suiteContext) int {
    			return m.Run()
    		},
    		os.Exit,
    		getSettings)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. tests/integration/ambient/untaint/main_test.go

    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    const (
    	Captured = "captured"
    )
    
    var i istio.Instance
    
    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: Wed Apr 17 14:58:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    	"istio.io/istio/tests/integration/pilot/mcs/common"
    )
    
    var (
    	i     istio.Instance
    	echos common.EchoDeployment
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		RequireMultiPrimary().
    		RequireMinVersion(17).
    		Setup(common.InstallMCSCRDs).
    		Setup(istio.Setup(&i, enableMCSAutoExport)).
    		Setup(common.DeployEchosFunc("se", &echos)).
    		Run()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. tests/integration/security/sds_ingress/quic/ingress_test.go

    	echo1NS      namespace.Instance
    	customConfig []echo.Config
    )
    
    func TestMain(m *testing.M) {
    	// Integration test for the ingress SDS Gateway flow.
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		// Need support for MixedProtocolLBService
    		RequireMinVersion(20).
    		RequireMultiPrimary().
    		Setup(istio.Setup(&inst, func(_ resource.Context, cfg *istio.Config) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top