Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for wantFilterStatus (0.24 sec)

  1. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    		},
    	}
    
    	tests := []struct {
    		name                string
    		Pod                 *v1.Pod
    		Node                *v1.Node
    		wantPreFilterStatus *framework.Status
    		wantFilterStatus    *framework.Status
    	}{
    		{
    			name: "pod without volume",
    			Pod:  st.MakePod().Name("pod_1").Namespace(metav1.NamespaceDefault).Obj(),
    			Node: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    				newPod("m1", "UDP/127.0.0.1/8080")),
    			name:             "same udp port",
    			wantFilterStatus: framework.NewStatus(framework.Unschedulable, ErrReason),
    		},
    		{
    			pod: newPod("m1", "TCP/127.0.0.1/8080"),
    			nodeInfo: framework.NewNodeInfo(
    				newPod("m1", "TCP/127.0.0.1/8080")),
    			name:             "same tcp port",
    			wantFilterStatus: framework.NewStatus(framework.Unschedulable, ErrReason),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    		wantStateAfterPreFilter *stateData
    		wantFilterStatus        []*framework.Status
    		wantScores              []int64
    		wantPreScoreStatus      *framework.Status
    	}{
    		{
    			name: "pod has not pvcs",
    			pod:  makePod("pod-a").Pod,
    			nodes: []*v1.Node{
    				makeNode("node-a").Node,
    			},
    			wantPreFilterStatus: framework.NewStatus(framework.Skip),
    			wantFilterStatus: []*framework.Status{
    				nil,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    	tests := []struct {
    		pod                 *v1.Pod
    		pods                []*v1.Pod
    		node                *v1.Node
    		name                string
    		wantPreFilterStatus *framework.Status
    		wantFilterStatus    *framework.Status
    	}{
    		{
    			name:                "A pod that has no required pod affinity scheduling rules can schedule onto a node with no existing pods",
    			pod:                 new(v1.Pod),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
Back to top