Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SelectCandidate (0.11 sec)

  1. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				Interface:  pl,
    			}
    			offset, numCandidates := pl.GetOffsetAndNumCandidates(int32(len(nodeInfos)))
    			candidates, _, _ := pe.DryRunPreemption(ctx, tt.pod, nodeInfos, nil, offset, numCandidates)
    			s := pe.SelectCandidate(ctx, candidates)
    			if s == nil || len(s.Name()) == 0 {
    				return
    			}
    			found := false
    			for _, nodeName := range tt.expected {
    				if nodeName == s.Name() {
    					found = true
    					break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top