Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNop (0.39 sec)

  1. 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