Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NotStatus (0.12 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			if !preFilterStatus.IsSuccess() {
    				t.Errorf("prefilter failed with status: %v", preFilterStatus)
    			}
    
    			gotStatus := p.(framework.FilterPlugin).Filter(ctx, cycleState, test.pod, test.nodeInfo)
    			if !reflect.DeepEqual(gotStatus, test.wantStatus) {
    				t.Errorf("status does not match: %v, want: %v", gotStatus, test.wantStatus)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			}
    
    			gotResult, gotStatus := p.PostFilter(ctx, state, tt.pod, tt.filteredNodesStatuses)
    			// As we cannot compare two errors directly due to miss the equal method for how to compare two errors, so just need to compare the reasons.
    			if gotStatus.Code() == framework.Error {
    				if diff := cmp.Diff(tt.wantStatus.Reasons(), gotStatus.Reasons()); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. pkg/kubelet/status/status_manager_test.go

    			pod := getTestPod()
    			pod.Status = tc.status
    			syncer.TerminatePod(pod)
    			gotStatus := expectPodStatus(t, syncer, pod.DeepCopy())
    			if diff := cmp.Diff(tc.wantStatus, gotStatus, cmpopts.IgnoreFields(v1.PodStatus{}, "StartTime")); diff != "" {
    				t.Fatalf("unexpected status: %s", diff)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
Back to top