Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testpvc (0.18 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/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)
  3. pkg/kubelet/eviction/helpers_test.go

    			return false
    		}
    	}
    	return true
    }
    
    func TestEvictonMessageWithResourceResize(t *testing.T) {
    	testpod := newPod("testpod", 1, []v1.Container{
    		newContainer("testcontainer", newResourceList("", "200Mi", ""), newResourceList("", "", "")),
    	}, nil)
    	testpod.Status = v1.PodStatus{
    		ContainerStatuses: []v1.ContainerStatus{
    			{
    				Name:               "testcontainer",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    	defer close(stopCh)
    	go sharedInformerFactory.Core().V1().Pods().Informer().Run(stopCh)
    	go manager.Run(context.TODO(), 1)
    
    	pods := newPodList(1, v1.PodRunning, testJob)
    	testPod := pods[0]
    	testPod.Status.Phase = v1.PodFailed
    	fakeWatch.Add(testPod)
    
    	t.Log("Waiting for pod to reach syncHandler")
    	<-received
    }
    
    func TestWatchOrphanPods(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    // Valid Pack operation.
    func.func @testPack(%arg0: tensor<4x8xf32>, %arg1: tensor<4x8xf32>) -> tensor<*xf32> {
      %0 = "tf.Pack"(%arg0, %arg1) {axis = 1 : i64} : (tensor<4x8xf32>, tensor<4x8xf32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    
    // -----
    
    func.func @testPack(%arg0: tensor<4x8xf32>, %arg1: tensor<4x2xf32>) -> tensor<*xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = "tfl.floor_mod"(%arg0, %arg1) : (tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32>
      func.return %0 : tensor<? x i32>
    }
    
    // CHECK-LABEL: testPow
    func.func @testPow(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
      // CHECK: tfl.pow %arg0, %arg1
      %0 = tfl.pow %arg0, %arg1 : tensor<? x i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	p, err := q.Pop(logger)
    	if err != nil {
    		t.Fatalf("Pop failed: %v", err)
    	}
    	if p.Pod.UID != pod.UID {
    		t.Errorf("Unexpected popped pod: %v", p)
    	}
    	return p
    }
    
    func TestPop(t *testing.T) {
    	pod := st.MakePod().Name("targetpod").UID("pod1").Obj()
    	queueingHintMap := QueueingHintMapPerProfile{
    		"": {
    			PvAdd: {
    				{
    					// The hint fn tells that this event makes a Pod scheudlable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top