Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for NewSuite (0.21 sec)

  1. 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)
  2. tests/integration/pilot/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) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, nil)).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    		Setup(func(t resource.Context) error {
    			gatewayConformanceInputs.Client = t.Clusters().Default()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 08 22:15:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tests/integration/pilot/revisions/revisions_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).
    		RequireMultiPrimary().
    		// Requires two CPs with specific names to be configured.
    		Label(label.CustomSetup).
    		Setup(istio.Setup(nil, func(_ resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 27 15:52:38 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. tests/integration/pilot/cni/cniversionskew_test.go

    					t.Fatalf("Failed to restart apps %v", err)
    				}
    				common.RunAllTrafficTests(t, i, apps)
    			}
    		})
    }
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.Postsubmit).
    		Label(label.CustomSetup).
    		RequireMultiPrimary().
    		Setup(istio.Setup(&i, nil)).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top