Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for NewTest (0.12 sec)

  1. tests/integration/helm/upgrade/helm_upgrade_test.go

    func TestDefaultInPlaceUpgradeFromPreviousMinorRelease(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(performInPlaceUpgradeFunc(previousSupportedVersion, false))
    }
    
    // TestCanaryUpgradeFromPreviousMinorRelease tests Istio upgrade using Helm with default options for Istio 1.(n-1)
    func TestCanaryUpgradeFromPreviousMinorRelease(t *testing.T) {
    	framework.
    		NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 20:31:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. 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)
  3. tests/integration/helm/install_test.go

    	overrideValuesStr := `
    global:
      hub: %s
      tag: %s
      variant: %q
    `
    	framework.
    		NewTest(t).
    		Run(setupInstallation(overrideValuesStr, false, DefaultNamespaceConfig, ""))
    }
    
    // TestAmbientInstall tests Istio ambient profile installation using Helm
    func TestAmbientInstall(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(setupInstallation(ambientProfileOverride, true, DefaultNamespaceConfig, ""))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisions/uninstall_test.go

    	revisionNotFound = "could not find target revision"
    )
    
    var allGVKs = append(helmreconciler.NamespacedResources(), helmreconciler.ClusterCPResources...)
    
    func TestUninstallByRevision(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.NewSubTest("uninstall_revision").Run(func(t framework.TestContext) {
    				istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    				uninstallCmd := []string{
    					"uninstall",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. tests/integration/security/jwt_test.go

    	payload3 := strings.Split(jwt.TokenIssuer1WithNestedClaims2, ".")[1]
    	framework.NewTest(t).
    		Label(label.IPv4). // https://github.com/istio/istio/issues/35835
    		Run(func(t framework.TestContext) {
    			type testCase struct {
    				name          string
    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}
    
    			newTest := func(policy string, cases []testCase) func(framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. tests/integration/telemetry/policy/envoy_ratelimit_test.go

    )
    
    func TestRateLimiting(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			cleanup := setupEnvoyFilter(t, "testdata/enable_envoy_ratelimit.yaml")
    			defer cleanup()
    			sendTrafficAndCheckIfRatelimited(t)
    		})
    }
    
    func TestLocalRateLimiting(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. pkg/scheduler/util/assumecache/assume_cache_test.go

    }
    
    func makeObj(name, version, namespace string) metav1.Object {
    	return &metav1.ObjectMeta{
    		Name:            name,
    		Namespace:       namespace,
    		ResourceVersion: version,
    	}
    }
    
    func newTest(t *testing.T) (ktesting.TContext, *AssumeCache, *testInformer) {
    	return newTestWithIndexer(t, "", nil)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tests/integration/operator/install_test.go

    	command   []string
    	errString string
    }
    
    // TestInstallCommandInput tests istioctl install command with different input arguments
    func TestInstallCommandInput(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			istioCtl := istioctl.NewOrFail(ctx, ctx, istioctl.Config{})
    			testCases := []installTestCase{
    				{
    					command:   []string{"install", "--dry-run", "--revision", ""},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 14:30:43 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tests/integration/ambient/baseline_test.go

    			t.Skip("https://github.com/istio/istio/pull/50182")
    		}
    
    		// TODO test from all source workloads as well
    		src.CallOrFail(t, opt)
    	})
    }
    
    func TestPodIP(t *testing.T) {
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		for _, src := range apps.All {
    			for _, srcWl := range src.WorkloadsOrFail(t) {
    				srcWl := srcWl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top