Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureJobConditionStatus (0.31 sec)

  1. pkg/controller/job/job_controller_test.go

    			expectUpdate: false,
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			gotList, isUpdated := ensureJobConditionStatus(tc.haveList, tc.wantType, tc.wantStatus, tc.wantReason, "", realClock.Now())
    			if isUpdated != tc.expectUpdate {
    				t.Errorf("Got isUpdated=%v, want %v", isUpdated, tc.expectUpdate)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top