Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PodEligibleToPreemptOthers (0.37 sec)

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

    				frameworkruntime.WithLogger(logger),
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    			pl := DefaultPreemption{fh: f, fts: test.fts}
    			if got, _ := pl.PodEligibleToPreemptOthers(test.pod, test.nominatedNodeStatus); got != test.expected {
    				t.Errorf("expected %t, got %t for pod: %s", test.expected, got, test.pod.Name)
    			}
    		})
    	}
    }
    func TestPreempt(t *testing.T) {
    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