Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for totalPut (0.24 sec)

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

    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    	q := NewTestQueue(ctx, newDefaultQueueSort(), WithClock(testingclock.NewFakeClock(time.Now())))
    	totalNum := 10
    	expectedPods := make([]v1.Pod, 0, totalNum)
    	for i := 0; i < totalNum; i++ {
    		priority := int32(i)
    		p := st.MakePod().Name(fmt.Sprintf("pod%d", i)).Namespace(fmt.Sprintf("ns%d", i)).UID(fmt.Sprintf("upns%d", i)).Priority(priority).Obj()
    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