Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newNames (0.09 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		t.Errorf("Expected 1 item to be in unschedulablePods, but got: %v", len(q.unschedulablePods.podInfoMap))
    	}
    }
    
    func clonePod(pod *v1.Pod, newName string) *v1.Pod {
    	pod = pod.DeepCopy()
    	pod.Name = newName
    	pod.UID = types.UID(pod.Name + pod.Namespace)
    	return pod
    }
    
    func expectInFlightPods(t *testing.T, q *PriorityQueue, uids ...types.UID) {
    	t.Helper()
    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