Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NotStatus (0.11 sec)

  1. pkg/scheduler/framework/runtime/framework_test.go

    			if err != nil {
    				t.Fatalf("fail to create framework: %s", err)
    			}
    			_, gotStatus := f.RunPostFilterPlugins(ctx, nil, pod, nil)
    			if !reflect.DeepEqual(gotStatus, tt.wantStatus) {
    				t.Errorf("Unexpected status. got: %v, want: %v", gotStatus, tt.wantStatus)
    			}
    		})
    	}
    }
    
    func TestFilterPluginsWithNominatedPods(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    	cycleState := framework.NewCycleState()
    	gotStatus := p.(*PodTopologySpread).Filter(context.Background(), cycleState, pod, nodeInfo)
    	wantStatus := framework.AsStatus(fmt.Errorf(`reading "PreFilterPodTopologySpread" from cycleState: %w`, framework.ErrNotFound))
    	if !reflect.DeepEqual(gotStatus, wantStatus) {
    		t.Errorf("status does not match: %v, want: %v", gotStatus, wantStatus)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
Back to top