- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for test_pvc (0.31 sec)
-
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) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
} for _, qPodInfo := range tt.qPodInfoInPodBackoffQ { q.podBackoffQ.Add(qPodInfo) } // Activate specific pod according to the table q.Activate(logger, map[string]*v1.Pod{"test_pod": tt.qPodInfoToActivate.PodInfo.Pod}) // Check the result after activation by the length of activeQ if wantLen := len(tt.want); q.activeQ.Len() != wantLen {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0)