Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTaintTolerationScore (0.69 sec)

  1. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: podName,
    		},
    		Spec: v1.PodSpec{
    			Tolerations: tolerations,
    		},
    	}
    }
    
    func TestTaintTolerationScore(t *testing.T) {
    	tests := []struct {
    		name         string
    		pod          *v1.Pod
    		nodes        []*v1.Node
    		expectedList framework.NodeScoreList
    	}{
    		// basic test case
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top