Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testpvc (0.14 sec)

  1. pkg/scheduler/schedule_one_test.go

    	queuedPodStore.Add(pod)
    	scache := internalcache.New(ctx, 10*time.Minute)
    	scache.AddNode(logger, &testNode)
    	testPVC := v1.PersistentVolumeClaim{ObjectMeta: metav1.ObjectMeta{Name: "testPVC", Namespace: pod.Namespace, UID: types.UID("testPVC")}}
    	client := clientsetfake.NewSimpleClientset(&testNode, &testPVC)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/kubelet/network/dns/dns_test.go

    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			testPod.Spec.HostNetwork = tc.hostnetwork
    			testPod.Spec.DNSConfig = tc.dnsConfig
    			testPod.Spec.DNSPolicy = tc.dnsPolicy
    
    			resDNSConfig, err := configurer.GetPodDNS(testPod)
    			if err != nil {
    				t.Errorf("%s: GetPodDNS(%v), unexpected error: %v", tc.desc, testPod, err)
    			}
    			if !dnsConfigsAreEqual(resDNSConfig, tc.expectedDNSConfig) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            uuid: Int,
            testType: TestType,
            os: Os,
            testJvm: JvmCategory,
            expectedBucketNumber: Int = DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE,
            buildJvm: Jvm = BuildToolBuildJvm,
            withoutDependencies: Boolean = false,
            arch: Arch = Arch.AMD64,
        ) : this(uuid, testType, os, testJvm.version, testJvm.vendor, buildJvm, expectedBucketNumber, withoutDependencies, arch)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    			testfunc: func(manager *wrappedManagerImpl) {
    				manager.GetTopologyHints(testPod, &testPod.Spec.Containers[0])
    			},
    		},
    		{
    			description: "GetPodTopologyHints data race when update device",
    			count:       10,
    			devices:     devs,
    			testfunc: func(manager *wrappedManagerImpl) {
    				manager.GetPodTopologyHints(testPod)
    			},
    		},
    	}
    
    	for _, test := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. configure.py

      # Disable tests with "v1only" tag in "v2" Bazel config, but not in "v1" config
      write_to_bazelrc('test:v1 --test_tag_filters=%s' %
                       ','.join(test_and_build_filters + test_only_filters))
      write_to_bazelrc('test:v1 --build_tag_filters=%s' %
                       ','.join(test_and_build_filters))
      write_to_bazelrc(
          'test:v2 --test_tag_filters=%s' %
          ','.join(test_and_build_filters + test_only_filters + ['-v1only']))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  6. pkg/volume/util/util_test.go

    		expectError bool
    	}{
    		{
    			"yaml",
    			`
    apiVersion: v1
    kind: Pod
    metadata:
      name: testpod
    spec:
      containers:
        - image: registry.k8s.io/busybox
    `,
    			false,
    		},
    
    		{
    			"json",
    			`
    {
      "apiVersion": "v1",
      "kind": "Pod",
      "metadata": {
        "name": "testpod"
      },
      "spec": {
        "containers": [
          {
            "image": "registry.k8s.io/busybox"
          }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/controller/podgc/gc_controller_test.go

    	}{
    		{
    			name: "orphaned pod should have DisruptionTarget condition added before deletion",
    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "default",
    					Name:      "testPod",
    				},
    				Spec: v1.PodSpec{
    					NodeName: "deletedNode",
    				},
    				Status: v1.PodStatus{
    					Phase: v1.PodRunning,
    					Conditions: []v1.PodCondition{
    						{
    							Type:   v1.PodReady,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    		ImageRef:  "img1234",
    		State:     kubecontainer.ContainerStateRunning,
    		StartedAt: nowTime,
    	}
    	testPodStatus := &kubecontainer.PodStatus{
    		ID:                testPod.UID,
    		Name:              testPod.Name,
    		Namespace:         testPod.Namespace,
    		ContainerStatuses: []*kubecontainer.Status{&testKubeContainerStatus},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. hack/lib/golang.sh

        local outfile testpkg
        outfile=$(kube::golang::outfile_for_binary "${test}" "${platform}")
        testpkg=$(dirname "${test}")
    
        mkdir -p "$(dirname "${outfile}")"
        go test -c \
          ${goflags:+"${goflags[@]}"} \
          -gcflags="${gogcflags}" \
          -ldflags="${goldflags}" \
          -tags="${gotags:-}" \
          -o "${outfile}" \
          "${testpkg}"
      done
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. pkg/kubelet/pod_workers_test.go

    	}
    
    	podWorkers, _, processed := createPodWorkers()
    	var channels WorkChannel
    	podWorkers.workerChannelFn = channels.Intercept
    
    	testPod := newNamedPod("2-static", "test1", "pod1", true)
    	if !kubetypes.IsStaticPod(testPod) {
    		t.Fatalf("unable to test static pod")
    	}
    
    	// start two pods with the same name, one static, one apiserver
    	podWorkers.UpdatePod(UpdatePodOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
Back to top