Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    			p, err := New(ctx, nil, nil, feature.Features{})
    			if err != nil {
    				t.Fatalf("creating plugin: %v", err)
    			}
    			gotStatus := p.(framework.FilterPlugin).Filter(ctx, nil, test.pod, nodeInfo)
    			if !reflect.DeepEqual(gotStatus, test.wantStatus) {
    				t.Errorf("status does not match: %v, want: %v", gotStatus, test.wantStatus)
    			}
    		})
    	}
    }
    
    func TestIsSchedulableAfterNodeChange(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    				t.Errorf("PreFilter status does not match (-want, +got): %s", diff)
    			}
    			if gotPreFilterStatus.Code() != framework.Skip {
    				gotStatus := p.Filter(ctx, nil, test.newPod, node)
    				if !reflect.DeepEqual(gotStatus, test.wantStatus) {
    					t.Errorf("Filter status does not match: %v, want: %v", gotStatus, test.wantStatus)
    				}
    			}
    		})
    	}
    }
    
    func TestCSILimitsQHint(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top