Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for NewTest (0.33 sec)

  1. tests/integration/telemetry/api/dashboard_test.go

    			"container_cpu_usage_seconds_total",
    		},
    		false,
    	},
    	*/
    }
    
    func TestDashboard(t *testing.T) {
    	c, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			p := promInst
    
    			t.ConfigIstio().YAML(apps.Namespace.Name(), fmt.Sprintf(gatewayConfig, apps.Namespace.Name())).
    				ApplyOrFail(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    // are routed securely through the egress gateway and that the TLS origination happens at the gateway.
    func TestEgressGatewayTls(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			// Apply Egress Gateway for service namespace to originate external traffic
    
    			createGateway(t, t, appNS, serviceNS, inst.Settings().EgressGatewayServiceNamespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. tests/integration/telemetry/policy/helper_test.go

    	//
    	// 5. TCP conflict
    	//    client ---TCP request at port 9091 ----> Hits listener 0.0.0.0_9091 ->  ALLOW_ANY/REGISTRY_ONLY
    	//    Metric is istio_tcp_connections_closed_total i.e. TCP
    	//
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			client, to := setupEcho(t, mode)
    
    			for _, tc := range cases {
    				t.NewSubTest(tc.Name).Run(func(t framework.TestContext) {
    					client.CallOrFail(t, echo.CallOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/echotest/filters_test.go

    	}
    	if len(expected) > 0 {
    		t.Errorf("did not include %v", expected)
    	}
    }
    
    func TestRun(t *testing.T) {
    	// source svc/cluster -> dest services -> number of subtests (should == num clusters)
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		tests := map[string]struct {
    			run    func(t framework.TestContext, testTopology map[string]map[string]int)
    			expect map[string]map[string]int
    		}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. tests/integration/security/reachability_test.go

    	mtlsModeOverrideParam    = "MTLSModeOverride"
    	tlsModeParam             = "TLSMode"
    	cMinIstioVersion         = "1.15.0"
    	// cMinIstioVersionDS       = "1.16.0"
    )
    
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			systemNS := istio.ClaimSystemNamespaceOrFail(t, t)
    
    			integIstioVersion := cMinIstioVersion
    			var migrationApp echo.Instances
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. tests/integration/operator/switch_cr_test.go

    	ManifestPathContainer = "/var/lib/istio/manifests"
    	iopCRFile             = ""
    )
    
    func TestController(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			workDir, err := t.CreateTmpDirectory("operator-controller-test")
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. pkg/registry/core/rest/storage_core.go

    	}
    
    	podTemplateStorage, err := podtemplatestore.NewREST(restOptionsGetter)
    	if err != nil {
    		return genericapiserver.APIGroupInfo{}, err
    	}
    
    	limitRangeStorage, err := limitrangestore.NewREST(restOptionsGetter)
    	if err != nil {
    		return genericapiserver.APIGroupInfo{}, err
    	}
    
    	persistentVolumeStorage, persistentVolumeStatusStorage, err := pvstore.NewREST(restOptionsGetter)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

            when:
            1 * one.missing >> false
            0 * componentSelectionRules.apply(_, _)
    
            then:
            chooser.selectNewestComponent(one, two) == one
        }
    
        def "chooses newest matching version without requiring metadata"() {
            given:
            def a = component('1.2')
            def b = component('1.3')
            def c = component('2.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. pkg/registry/rbac/rest/storage_rbac.go

    	storage := map[string]rest.Storage{}
    
    	rolesStorage, err := rolestore.NewREST(restOptionsGetter)
    	if err != nil {
    		return storage, err
    	}
    	roleBindingsStorage, err := rolebindingstore.NewREST(restOptionsGetter)
    	if err != nil {
    		return storage, err
    	}
    	clusterRolesStorage, err := clusterrolestore.NewREST(restOptionsGetter)
    	if err != nil {
    		return storage, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  10. pkg/registry/apps/replicaset/storage/storage.go

    	}, nil
    }
    
    // REST implements a RESTStorage for ReplicaSet.
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ReplicaSet.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &apps.ReplicaSet{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top