Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for RequiresSingleCluster (0.25 sec)

  1. tests/integration/pilot/analyze_test.go

    	jsonOutput           = "-ojson"
    )
    
    var analyzerFoundIssuesError = analyze.AnalyzerFoundIssuesError{}
    
    func TestEmptyCluster(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			g := NewWithT(t)
    
    			ns := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze",
    				Inject: true,
    			})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. tests/integration/pilot/istioctl_test.go

    // TestVersion does "istioctl version --remote=true" to verify the CLI understands the data plane version data
    func TestVersion(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			cfg := i.Settings()
    
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{Cluster: t.Environment().Clusters()[0]})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. tests/integration/security/sds_ingress/quic/ingress_test.go

    // using both QUIC and TCP/TLS
    func TestTlsGatewaysWithQUIC(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			t.NewSubTest("tcp").Run(func(t framework.TestContext) {
    				ingressutil.RunTestMultiTLSGateways(t, inst, namespace.Future(&echo1NS))
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tests/integration/pilot/original_src_addr_test.go

    	"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 {
    				t.Errorf("failed to get Subsets: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. pkg/test/framework/test.go

    	//
    	// Deprecated: Tests should not make assumptions about number of clusters.
    	RequiresMinClusters(minClusters int) Test
    	// RequiresSingleCluster this a utility that requires the min/max clusters to both = 1.
    	//
    	// Deprecated: All new tests should support multiple clusters.
    	RequiresSingleCluster() Test
    	// RequiresLocalControlPlane ensures that clusters are using locally-deployed control planes.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. tests/integration/pilot/piggyback_test.go

    	"istio.io/istio/pkg/test/framework/components/istioctl"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestPiggyback(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		RequireIstioVersion("1.10.0").
    		Run(func(t framework.TestContext) {
    			workloads := []echo.Instances{apps.A, apps.Sotw}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/cross_revision_test.go

    	if !f {
    		t.Skip("ISTIO_TEST_EXTRA_REVISIONS not specified")
    	}
    	extraRevs := strings.Split(rawExtraRevs, ",")
    
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			namespaces := make([]revisionedNamespace, 0, len(extraRevs))
    			for _, rev := range extraRevs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. 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
    				error    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)
  9. tests/integration/pilot/webhook_test.go

    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestWebhook(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			vwcName := "istio-validator"
    			if t.Settings().Revisions.Default() != "" {
    				vwcName = fmt.Sprintf("%s-%s", vwcName, t.Settings().Revisions.Default())
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 13:31:34 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. tests/integration/pilot/revisioned_upgrade_test.go

    )
    
    // 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).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top