Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for setupTest (0.13 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

         */
        FileSystemNode selectedChild
    
        abstract protected NODE createInitialRootNode(ChildMap<CHILD> children);
    
        abstract protected CHILD mockChild()
    
        void setupTest(VirtualFileSystemTestSpec spec) {
            this.children = createChildren(spec.childPaths)
            this.initialRoot = createInitialRootNode(children)
            this.searchedPath = spec.searchedPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/bench_test.go

    }
    
    func BenchmarkInitPushContext(b *testing.B) {
    	configureBenchmark(b)
    	for _, tt := range testCases {
    		b.Run(tt.Name, func(b *testing.B) {
    			s, proxy := setupTest(b, tt)
    			b.ResetTimer()
    			for n := 0; n < b.N; n++ {
    				s.Env().PushContext().InitDone.Store(false)
    				initPushContext(s.Env(), proxy)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    		t.Errorf("Unexpected non-error reading container logs: %#v", resp)
    	}
    }
    
    func TestCheckpointContainer(t *testing.T) {
    	podNamespace := "other"
    	podName := "foo"
    	expectedContainerName := "baz"
    
    	setupTest := func(featureGate bool) *serverTestFramework {
    		// Enable features.ContainerCheckpoint during test
    		featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ContainerCheckpoint, featureGate)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. tests/integration/security/sds_ingress/util/util.go

    			{
    				Name:     "http",
    				Protocol: protocol.HTTP,
    				// We use a port > 1024 to not require root
    				WorkloadPort: 8090,
    			},
    		},
    		DeployAsVM: buildVM,
    	}
    }
    
    func SetupTest(ctx resource.Context, customCfg *[]echo.Config, customNs namespace.Getter) error {
    	var customConfig []echo.Config
    	buildVM := !ctx.Settings().Skip(echo.VM)
    	a := EchoConfig(ASvc, customNs.Get(), false)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  5. tests/integration/security/sds_ingress/ingress_test.go

    		Setup(func(ctx resource.Context) error {
    			// TODO: due to issue https://github.com/istio/istio/issues/25286,
    			// currently VM does not work in this test
    			err := ingressutil.SetupTest(ctx, &customConfig, namespace.Future(&echo1NS))
    			if err != nil {
    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier_test.go

    	}
    }
    
    func TestInternalExternalMasquerade(t *testing.T) {
    	// (Put the test setup code in an internal function so we can have it here at the
    	// top, before the test cases that will be run against it.)
    	setupTest := func(fp *Proxier) {
    		makeServiceMap(fp,
    			makeTestService("ns1", "svc1", func(svc *v1.Service) {
    				svc.Spec.Type = "LoadBalancer"
    				svc.Spec.ClusterIP = "172.30.0.41"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  7. tests/integration/telemetry/api/setup_test.go

    Ben Leggett <******@****.***> 1714685380 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. pkg/proxy/iptables/proxier_test.go

    	}
    }
    
    func TestInternalExternalMasquerade(t *testing.T) {
    	// (Put the test setup code in an internal function so we can have it here at the
    	// top, before the test cases that will be run against it.)
    	setupTest := func(fp *Proxier) {
    		makeServiceMap(fp,
    			makeTestService("ns1", "svc1", func(svc *v1.Service) {
    				svc.Spec.Type = "LoadBalancer"
    				svc.Spec.ClusterIP = "172.30.0.41"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/certs_test.go

    			expectedCa: caCert,
    		},
    		{ // ca cert exists, is ca > existing ca used
    			setupFunc: func(pkiDir string) error {
    				return writeCertificateAuthorityFilesIfNotExist(pkiDir, "dummy", setupCert, setupKey)
    			},
    			expectedCa: setupCert,
    		},
    		{ // some file exists, but it is not a valid ca cert > err
    			setupFunc: func(pkiDir string) error {
    				testutil.SetupEmptyFiles(t, pkiDir, "dummy.crt")
    				return nil
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                                final Map<String, Object> upsertMap = new HashMap<>();
                                upsertMap.put(fessConfig.getIndexFieldFavoriteCount(), 1);
                                builder.setUpsert(upsertMap);
                                builder.setRefreshPolicy(Constants.TRUE);
                            });
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top