Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getConditionsByType (0.13 sec)

  1. pkg/controller/job/job_controller_test.go

    		t.Errorf("Unexpected number of deletes.  Expected %d, saw %d\n", 0, len(fakePodControl.DeletePodName))
    	}
    	if actual == nil {
    		t.Error("Expected job modification\n")
    	}
    	failedConditions := getConditionsByType(actual.Status.Conditions, batch.JobFailed)
    	if len(failedConditions) != 1 {
    		t.Error("Unexpected number of failed conditions\n")
    	}
    	if failedConditions[0].Status != v1.ConditionTrue {
    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