Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gStates (0.29 sec)

  1. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go

    		want *framework.Status
    	}{
    		{
    			name: "pod does not carry scheduling gates",
    			pod:  st.MakePod().Name("p").Obj(),
    			want: nil,
    		},
    		{
    			name: "pod carries scheduling gates",
    			pod:  st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(),
    			want: framework.NewStatus(framework.UnschedulableAndUnresolvable, "waiting for scheduling gates: [foo bar]"),
    		},
    	}
    
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top