Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPreScoreSkip (1.24 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    	tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
    	"k8s.io/utils/ptr"
    )
    
    var podTopologySpreadFunc = frameworkruntime.FactoryAdapter(feature.Features{}, New)
    
    // TestPreScoreSkip tests the cases that TopologySpread#PreScore returns the Skip status.
    func TestPreScoreSkip(t *testing.T) {
    	tests := []struct {
    		name   string
    		pod    *v1.Pod
    		nodes  []*v1.Node
    		objs   []runtime.Object
    		config config.PodTopologySpreadArgs
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
Back to top