Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 182 for NewTest (0.11 sec)

  1. tests/integration/security/normalization_test.go

    			}
    			if err != nil {
    				t.Errorf("failed to unescape percent encoded path %s: %v", input, err)
    			}
    		}
    		percentEncodedCases = append(percentEncodedCases, expect{in: input, out: output})
    	}
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			cases := []struct {
    				name         string
    				ntype        meshconfig.MeshConfig_ProxyPathNormalization_NormalizationType
    				expectations []expect
    			}{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. pkg/test/framework/integration/framework_test.go

    	componentCloseStart time.Time
    	componentCloseEnd   time.Time
    
    	runChildrenParallel bool
    	children            []*test
    }
    
    func (tst *test) Run(t *testing.T) {
    	t.Helper()
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.NewSubTest(tst.name).Run(tst.runInternal)
    		})
    
    	if err := tst.doCheck(); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tests/integration/pilot/mirror_test.go

    				threshold:           0.0,
    				expectedDestination: apps.External.All,
    			},
    		},
    	})
    }
    
    func runMirrorTest(t *testing.T, options mirrorTestOptions) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			for _, c := range options.cases {
    				t.NewSubTest(c.name).Run(func(t framework.TestContext) {
    					mirrorHost := options.mirrorHost
    					if len(mirrorHost) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. tests/integration/pilot/cni_race_test.go

    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/shell"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func TestCNIRaceRepair(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			if !i.Settings().EnableCNI {
    				t.Skip("CNI race condition mitigation is only tested when CNI is enabled.")
    			}
    			c := t.Clusters().Default()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tests/integration/security/cacert_rotation/main_test.go

      meshConfig:
        defaultConfig:
          proxyMetadata:
            PROXY_CONFIG_XDS_AGENT: "true"
    `
    	cfg.ControlPlaneValues = cfgYaml
    }
    
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/integration/security/ca_custom_root/secure_naming_test.go

    //
    //	is used for data plane to control plane TLS authentication.
    //
    // - Secure naming information is respected in the mTLS handshake.
    func TestSecureNaming(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    
    			testNamespace := apps.EchoNamespace.Namespace
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. tests/integration/operator/uninstall_test.go

    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const deletionTimeout = 5 * time.Minute
    
    func TestReconcileDelete(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			// For positive casse, use minimal profile, iop file will be deleted
    			t.NewSubTest("delete-iop-success").Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. pkg/registry/resource/rest/storage_resource.go

    		resourceClassStorage, err := resourceclassstore.NewREST(restOptionsGetter)
    		if err != nil {
    			return nil, err
    		}
    		storage[resource] = resourceClassStorage
    	}
    
    	if resource := "resourceclaims"; apiResourceConfigSource.ResourceEnabled(resourcev1alpha2.SchemeGroupVersion.WithResource(resource)) {
    		resourceClaimStorage, resourceClaimStatusStorage, err := resourceclaimstore.NewREST(restOptionsGetter)
    		if err != nil {
    			return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. pkg/registry/admissionregistration/rest/storage_apiserver.go

    	if resource := "validatingwebhookconfigurations"; apiResourceConfigSource.ResourceEnabled(admissionregistrationv1.SchemeGroupVersion.WithResource(resource)) {
    		validatingStorage, err := validatingwebhookconfigurationstorage.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = validatingStorage
    	}
    
    	// mutatingwebhookconfigurations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. pkg/registry/core/rest/storage_core_generic.go

    	}
    
    	eventStorage, err := eventstore.NewREST(restOptionsGetter, uint64(c.EventTTL.Seconds()))
    	if err != nil {
    		return genericapiserver.APIGroupInfo{}, err
    	}
    
    	resourceQuotaStorage, resourceQuotaStatusStorage, err := resourcequotastore.NewREST(restOptionsGetter)
    	if err != nil {
    		return genericapiserver.APIGroupInfo{}, err
    	}
    	secretStorage, err := secretstore.NewREST(restOptionsGetter)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top